mirror of
https://github.com/python/cpython.git
synced 2024-12-15 04:44:47 +08:00
Merge 3.4 (asyncio)
This commit is contained in:
commit
c84d167733
@ -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…
Reference in New Issue
Block a user