-
Notifications
You must be signed in to change notification settings - Fork 540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
asyncio.create_subprocess_exec
: cannot read /dev/stdin
#532
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
uvloop==0.17.0
Python 3.10.10
Linux 0af9a1603f81 5.10.76-linuxkit #1 SMP Mon Nov 8 10:21:19 UTC 2021 x86_64 GNU/Linux
(in a Docker container)PYTHONASYNCIODEBUG
in env?: yesasyncio
had a similar issue patched: asyncio subprocess cannot read from /dev/stdin python/cpython#90522Processes run with
asyncio.create_subprocess_exec
fail to read from/dev/stdin
withuvloop
but not withasyncio
asyncio
had a similar issue fixed recently (in January 2022): python/cpython#90522This was backported to 3.10 and 3.11
I can reproduce this on Linux in a Docker container, with either Mac OS or Linux as hosts
I cannot reproduce this on Mac OS (seems to work fine)
Logs:
Expected (using
asyncio
):Code to reproduce:
The text was updated successfully, but these errors were encountered: