mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Merge 3.4 (asyncio)
This commit is contained in:
commit
c84d167733
1 changed files with 3 additions and 0 deletions
|
@ -117,12 +117,15 @@ class BaseSubprocessTransport(transports.SubprocessTransport):
|
|||
proc.stderr.close()
|
||||
if proc.stdin:
|
||||
proc.stdin.close()
|
||||
|
||||
try:
|
||||
proc.kill()
|
||||
except ProcessLookupError:
|
||||
pass
|
||||
self._returncode = proc.wait()
|
||||
|
||||
self.close()
|
||||
|
||||
@coroutine
|
||||
def _post_init(self):
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue