mirror of
https://github.com/python/cpython.git
synced 2025-08-24 10:45:53 +00:00
GH-100133: fix asyncio
subprocess losing stderr
and stdout
output (#100154)
This commit is contained in:
parent
4994f2488f
commit
a7715ccfba
3 changed files with 18 additions and 3 deletions
|
@ -215,9 +215,6 @@ class BaseSubprocessTransport(transports.SubprocessTransport):
|
|||
# object. On Python 3.6, it is required to avoid a ResourceWarning.
|
||||
self._proc.returncode = returncode
|
||||
self._call(self._protocol.process_exited)
|
||||
for p in self._pipes.values():
|
||||
if p is not None:
|
||||
p.pipe.close()
|
||||
|
||||
self._try_finish()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue