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 neologix
Recipients gregory.p.smith, neologix, pitrou
Date 2013-08-16.22:23:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376691835.07.0.666456900735.issue18763@psf.upfronthosting.co.za>
In-reply-to
Content
Currently, when passed close_fds=True, the subprocess module closes FDs before calling preexec_fn (if provided). This can be an issue if preexec_fn opens some file descriptors, which would then be inherited in the child process.
Here's a patch with test.
History
Date User Action Args
2013-08-16 22:23:55neologixsetrecipients: + neologix, gregory.p.smith, pitrou
2013-08-16 22:23:55neologixsetmessageid: <1376691835.07.0.666456900735.issue18763@psf.upfronthosting.co.za>
2013-08-16 22:23:55neologixlinkissue18763 messages
2013-08-16 22:23:54neologixcreate