Availability of the popen2 module / documentation bug

David Ascher da at ski.org
Wed May 26 23:39:01 EDT 1999


On Wed, 26 May 1999, Gordon McMillan wrote:

> Stefan Franke writes:
> 
> > http://www.python.org/doc/lib/module-popen2.html claims that the
> > popen2 module is available on Unix and Windows. However, 1.5.2's
> > popen2.popen2 doesn't work on Windows (yet?).
> > 
> > There has been some discussion in the "Faking bi-directional pipes
> > under Windows?" thread last december, but qpparently no consensus
> > was reached.
> 
> In Mark's Win32 extensions is a win32pipe module that provides a drop 
> in replacement. Pipes at the C RTL level are busted on Win32; it 
> takes using the raw Win32 API.

Drop-in, with a caution -- the read/write pipes returned by popen2 are in
swapped order in win32pipe vs. popen2.  

--david





More information about the Python-list mailing list