Run child process with stdout and result on Win32?

Dave Sellars dave at didnt.freeserve.co.uk
Mon Jun 7 16:37:58 CEST 2004


Is there really no way to run a sub-process, gather its stdout/stderr, 
and collect the return-code, on Win32???
But that's what the docs say...

 > These methods do not make it possible to retrieve the return code
 > from the child processes. The only way to control the input and
 > output streams and also retrieve the return codes is to use the
 > Popen3 and Popen4 classes from the popen2 module; these are only
 > available on Unix.

Surely not!?!?

   Dave.




More information about the Python-list mailing list