Hello all,
can someone please provide a little assistance into how I can get wxpython to display the output of a linux command? For this example I am using the “free” command via “subprocess.Popen.” I have attached my code, which generates errors no matter what I do.
Thank you in advance,
AN
linuxCommand.py (524 Bytes)
1. You need your command member to return some text - take a look at the Popen pipe implementation.
2. If you do it as you are you will block until your process is done during create you might like to take a look at the demo code for long running processes to see how to update the text when the process is done.
···
On 06/12/13 06:24, AngryNinja wrote:
Hello all,
can someone please provide a little assistance into how I can get wxpython to display the output of a linux command? For this example I am using the "free" command via "subprocess.Popen." I have attached my code, which generates errors no matter what I do.
Thank you in advance,
AN
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wxpython-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.