diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-29 01:15:35 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-29 01:15:35 (GMT) |
commit | c84d167733efd33b54818b1f334c579cf7c8e548 (patch) | |
tree | 6de92fb0c56faffece068c1488fc401a570d8190 /Lib | |
parent | bd4976bbd3c8cdfba974c1a66970a1f956c08f53 (diff) | |
parent | 7b5a900e88a046b01eebafdc98ee23d531c101d3 (diff) | |
download | cpython-c84d167733efd33b54818b1f334c579cf7c8e548.zip cpython-c84d167733efd33b54818b1f334c579cf7c8e548.tar.gz cpython-c84d167733efd33b54818b1f334c579cf7c8e548.tar.bz2 |
Merge 3.4 (asyncio)
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/asyncio/base_subprocess.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/asyncio/base_subprocess.py b/Lib/asyncio/base_subprocess.py index f5e7dfe..81c6f1a 100644 --- a/Lib/asyncio/base_subprocess.py +++ b/Lib/asyncio/base_subprocess.py @@ -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: |