mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
asyncio: BaseSubprocessTransport: repr() mentions when the child process is
running
This commit is contained in:
parent
df0db49b1b
commit
4e82fb99a0
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue