popen2.Popen3 on Windows

d.w. harks dave at psys.org
Mon Jun 16 15:50:33 EDT 2003


With the win32 extensions, use the win32pipe module. It provides 'safe'
win32 versions of popen, et al.

dave

In our last episode, Justin Johnson expounded thusly:
> 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
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list

-- 
David W. Harks <dave at psys.org>  http://dwblog.psys.org





More information about the Python-list mailing list