From 10a91fec4dcbd4b7e2be1331184bc8b92274582c Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 12 Feb 2015 16:15:20 +0100 Subject: [PATCH] BaseSubprocessTransport: repr() mentions when the child process is running --- asyncio/base_subprocess.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/asyncio/base_subprocess.py b/asyncio/base_subprocess.py index 5458ab1..f56873f 100644 --- a/asyncio/base_subprocess.py +++ b/asyncio/base_subprocess.py @@ -57,6 +57,8 @@ class BaseSubprocessTransport(transports.SubprocessTransport): info.append('pid=%s' % self._pid) if self._returncode is not None: info.append('returncode=%s' % self._returncode) + else: + info.append('running') stdin = self._pipes.get(0) if stdin is not None: