mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
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:
commit
7b98d02302
6 changed files with 24 additions and 5 deletions
|
|
@ -411,7 +411,7 @@ def close(self,
|
|||
# Alias
|
||||
__del__ = close
|
||||
|
||||
def popen(cmd, mode='r', bufsize=None):
|
||||
def popen(cmd, mode='r', bufsize=-1):
|
||||
|
||||
""" Portable popen() interface.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue