A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/005914.html below:

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

[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/)



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4