[Python-Dev] new popen for win32! [status update]
Guido van Rossum
guido@beopen.com
Sun, 09 Jul 2000 17:02:37 -0500
> the current api is:
>
> popen2.popen2(command, bufsize=default)
> popen2.popen3(command, bufsize=default)
>
> vs.
>
> nt.popen2(command, mode="t")
> nt.popen3(command, mode="t")
Not commenting on the question here, but on the return tuple: should
it be (i,o,e) or (o,i,e)? The popen2 module uses the latter, but
that's hard to remember for Unix-droids: it corresponds to (1,0,2) in
file descriptors. So if it's not too late, let's do (i,o,e).
(I tried to read the posixmodule.c source but got lost...)
--Guido van Rossum (home page: http://dinsdale.python.org/~guido/)