Cmd output and status in one call on Windows

Justin Johnson justinjohnson at fastmail.fm
Mon Jun 16 13:53:12 EDT 2003


Hi,

I need a way to run an external command, grab its output (stdout,stderr)
and get a return status for the command.  It seems like popen2.Popen3
(Note the upper case "P") is the way to do this, but it only works on
unix.  Is there a way to get this info on Windows?

Thanks.
-Justin





More information about the Python-list mailing list