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.
G
Gregory P. Smith committed
580d2782f70f8e0bed7ec20abb03d740cb83b5da
Parent: 3fb1363
Committed by T. Wouters <thomas@python.org>
on 9/11/2019, 9:23:05 AM