mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +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:
parent
5e98141f9f
commit
877766dee8
6 changed files with 23 additions and 5 deletions
|
|
@ -398,7 +398,7 @@ class _popen:
|
|||
# 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