You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2019-05-28.00:22:48.604>created_at=<Date2019-04-21.01:04:45.598>labels= ['3.8', 'expert-asyncio']
title="Docs: asyncio.loop.subprocess_exec documentation is confusing, it's not clear how to inherit stdin, stdout or stderr in the subprocess"updated_at=<Date2019-05-28.13:06:47.124>user='https://github.com/sbstp'
I had trouble figuring out how to simply inherit stdin, stdout, or stderr in the asyncio.create_subprocess_exec / asyncio.subprocess_exec docs. My experiments show that passing either None or sys.std* works but the way the docs are written make it hard to figure that out in my opinion.
stdout: either a file-like object representing the pipe to be connected to the subprocess’s standard output stream using connect_read_pipe(), or the subprocess.PIPE constant (default). By default a new pipe will be created and connected.
I would add a mention that using None makes the subprocess inherit the file descriptor.
New changeset f0d4c64 by Miss Islington (bot) (sbstp) in branch 'master': bpo-36686: Improve the documentation of the std* params in loop.subprocess_exec (GH-13586) f0d4c64
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: