reading stdout from a running win32 process
lists at js3d.co.uk
Tue Jan 6 18:51:03 CET 2009
I'm launching a process from windows using the demo 'winprocess' from the
win32 extensions. I want to be able to record the output of the process as
it runs and display it elsewhere. If I use the following [very bad] code:
winprocess.run('xsibatch.exe', show=1, stdout=out, stderr=out)
I don't seem to be able to read the 'out' at all? If I omit redirecting
stdout etc then the output displays fine in the console.
Any info / pointers on where I'm going very wrong much appreciated.
More information about the Python-list