Hi,
I am trying following script...
script
import subprocess
cmd=['time', 'myCmd']
p = subprocess.Popen(cmd)
p.communicate()
script
Where 'myCmd' is some executable path and combination of arguments.
Now I am observing following output...
myCmd_output...
0.00user 0.00system 0:00.00elapsed 0%CPU
On Mon, Apr 5, 2010 at 1:33 PM, hiral hiralsmaill...@gmail.com wrote:
Hi,
I am trying following script...
script
import subprocess
cmd=['time', 'myCmd']
p = subprocess.Popen(cmd)
p.communicate()
script
Where 'myCmd' is some executable path and combination of arguments.
Now I am
I'm trying to display the output of an external process (invoked via
popen) in a Tkinter text widget. I successfully start the process (based
on what I'm seeing in my terminal output), but I can't get the output to
display in the Tkinter widget. It seems to block.
Any ideas? My code is below:
Kevin Walzer wrote:
I'm trying to display the output of an external process (invoked via
popen) in a Tkinter text widget. I successfully start the process (based
on what I'm seeing in my terminal output), but I can't get the output to
display in the Tkinter widget. It seems to block.
Any