output from popen

2010-04-05 Thread hiral
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

Re: output from popen

2010-04-05 Thread Kushal Kumaran
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

No output from popen in Tkinter text widget

2006-12-11 Thread Kevin Walzer
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:

Re: No output from popen in Tkinter text widget

2006-12-11 Thread John McMonagle
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