python - No output from QProcess -


Why does a blank line print instead of 'Hello Q process'?

  Import from QQQQQ, QTIC proc proc = qtcore.QProcess () proc.start ("echo" Hello Q Process "") proc.waitForFinished () Results = proc.readAll () Print result proc.close ()  

I am at Windows XP, btw.

Because any program "Search"

If you wanted to run it through the shell, then you should use "CMD / C Echo Hello Q process".

There is no error checking in your program, even if you check for errors correctly, it would be easier to replace the mistake.


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -