Issue #11459: A bufsize value of 0 in subprocess.Popen() really creates

unbuffered pipes, such that select() works properly on them.
This commit is contained in:
Antoine Pitrou 2011-03-19 17:04:13 +01:00
commit 7b98d02302
6 changed files with 24 additions and 5 deletions

View file

@ -208,7 +208,7 @@ Windows Platform
Win95/98 specific
^^^^^^^^^^^^^^^^^
.. function:: popen(cmd, mode='r', bufsize=None)
.. function:: popen(cmd, mode='r', bufsize=-1)
Portable :func:`popen` interface. Find a working popen implementation
preferring :func:`win32pipe.popen`. On Windows NT, :func:`win32pipe.popen`