summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-11 10:05:14 (GMT)
committerGitHub <noreply@github.com>2019-09-11 10:05:14 (GMT)
commit872c85a1796290baef89a20dbde819c4da45830c (patch)
tree3aa6336c570b54d4ff5c6b7551fbd1525c17b73c /Python
parentf357cd022ec82a4099ac7a09047d2b556a1c91ec (diff)
downloadcpython-872c85a1796290baef89a20dbde819c4da45830c.zip
cpython-872c85a1796290baef89a20dbde819c4da45830c.tar.gz
cpython-872c85a1796290baef89a20dbde819c4da45830c.tar.bz2
bpo-37424: Avoid a hang in subprocess.run timeout output capture (GH-14490)
Fixes a possible hang when using a timeout on subprocess.run() while capturing output. If the child process spawned its own children or otherwise connected its stdout or stderr handles with another process, we could hang after the timeout was reached and our child was killed when attempting to read final output from the pipes. (cherry picked from commit 580d2782f70f8e0bed7ec20abb03d740cb83b5da) Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions