Commit 4e82fb99 authored by Victor Stinner's avatar Victor Stinner

asyncio: BaseSubprocessTransport: repr() mentions when the child process is

running
parent df0db49b
...@@ -57,6 +57,8 @@ class BaseSubprocessTransport(transports.SubprocessTransport): ...@@ -57,6 +57,8 @@ class BaseSubprocessTransport(transports.SubprocessTransport):
info.append('pid=%s' % self._pid) info.append('pid=%s' % self._pid)
if self._returncode is not None: if self._returncode is not None:
info.append('returncode=%s' % self._returncode) info.append('returncode=%s' % self._returncode)
else:
info.append('running')
stdin = self._pipes.get(0) stdin = self._pipes.get(0)
if stdin is not None: if stdin is not None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment