[Python-Dev] new popen for win32! [status update]

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Sun, 9 Jul 2000 18:32:25 +0200

current status:

> - should this go into the "nt" (posix) module, or should
>   I create a new module?

I just checked in a new version of posixmodule.c, which
uses Bill's implementation instead of _popen.  works just
fine, on the boxes I've tested it on.

> - "win32popenWin9x.exe" is a rather unwieldy name for a
>   file.  does anyone have a better suggestion?
>        python_popen.exe
>        py_popen9x.exe
>        popenStub.exe
>     ...?

tim suggested "w9xpopen.exe", which as good as it gets.
I've checked in the PC/w9xpopen.c file, but I haven't up-
dated the build files (see below):

> - I'm using VC5 on this box, so I should probably avoid
>   checking in my modified project files.  any VC6-wielding
>   volunteers out there?

tim will fix this.

> - first, a stupid question: is the popen2 and popen3
>   versions replacements for the corresponding functions
>   in the popen2 module.
>   (or to put it another way: should the popen2 module
>   be modified to use these functions on Windows?)

the new posix code exports popen2, popen3, and popen4
on windows.  I'll provide patches for popen2.py later (gotta
do some more testing first).

cheers /F