mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +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()
|
proc.stderr.close()
|
||||||
if proc.stdin:
|
if proc.stdin:
|
||||||
proc.stdin.close()
|
proc.stdin.close()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
proc.kill()
|
proc.kill()
|
||||||
except ProcessLookupError:
|
except ProcessLookupError:
|
||||||
pass
|
pass
|
||||||
self._returncode = proc.wait()
|
self._returncode = proc.wait()
|
||||||
|
|
||||||
|
self.close()
|
||||||
|
|
||||||
@coroutine
|
@coroutine
|
||||||
def _post_init(self):
|
def _post_init(self):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue