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 vstinner
Recipients Geass-LL, JelleZijlstra, shihai1991, sxt1001, vstinner
Date 2022-01-22.03:19:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642821592.24.0.199435378708.issue46454@roundup.psfhosted.org>
In-reply-to
Content
> this fd 0 `is` inherited.

File descriptors 0, 1, 2 are special: stdin, stdout and stderr file descriptors. You should use stdin, stdout, and stderr parameter of subprocess.

Sorry but the bug tracker is not a good place to ask questions about how to use Python, it's only to report bugs.

Python works as expected.
History
Date User Action Args
2022-01-22 03:19:52vstinnersetrecipients: + vstinner, JelleZijlstra, shihai1991, sxt1001, Geass-LL
2022-01-22 03:19:52vstinnersetmessageid: <1642821592.24.0.199435378708.issue46454@roundup.psfhosted.org>
2022-01-22 03:19:52vstinnerlinkissue46454 messages
2022-01-22 03:19:52vstinnercreate