New submission from xoph <x...@posteo.de>:

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`

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46364>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to