This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author xoph
Recipients asvetlov, xoph, yselivanov
Date 2022-01-13.08:24:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642062291.75.0.573432882614.issue46364@roundup.psfhosted.org>
In-reply-to
Content
asyncio.create_subprocess_exec and asyncio.create_subprocess_shell fail with "No such device or address" when called on a program that attempts to invoke `/dev/stdin` on Linux.
This happens in contrast to the subprocess module and was discussed in the this thread: https://stackoverflow.com/questions/70624413/how-to-read-from-dev-stdin-with-asyncio-create-subprocess-exec

It seems while subprocess uses a pipe, asyncio uses socket.socketpair() to communicate with the subprocess which in turn appears to fail for `/dev/stdin`
History
Date User Action Args
2022-01-13 08:24:51xophsetrecipients: + xoph, asvetlov, yselivanov
2022-01-13 08:24:51xophsetmessageid: <1642062291.75.0.573432882614.issue46364@roundup.psfhosted.org>
2022-01-13 08:24:51xophlinkissue46364 messages
2022-01-13 08:24:51xophcreate