Message411144
That's not a bug, but a deliberate choice. In Python 3, file descriptors are no longer inherited by default by child processes (fork+exec). Jelle is right, it was changed by my PEP 446.
You must use pass_fds=[fd] parameter of subprocess.
Or at least, make the file descriptor inheritable (worse solution). |
|
Date |
User |
Action |
Args |
2022-01-21 16:37:53 | vstinner | set | recipients:
+ vstinner, JelleZijlstra, shihai1991, sxt1001 |
2022-01-21 16:37:53 | vstinner | set | messageid: <1642783073.86.0.450896719233.issue46454@roundup.psfhosted.org> |
2022-01-21 16:37:53 | vstinner | link | issue46454 messages |
2022-01-21 16:37:53 | vstinner | create | |
|