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 rosslagerwall
Recipients gregory.p.smith, jyasskin, loewis, nadeem.vawda, neologix, pitrou, rosslagerwall, s7v7nislands, vstinner
Date 2011-03-27.12:25:43
SpamBayes Score 3.1351513e-07
Marked as misclassified No
Message-id <1301228743.85.0.816506761368.issue8052@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think setting the cloexec flag is a viable solution, especially since fds can be opened in custom c modules.

For what its worth, an strace of Java's Process class appears to "cheat" by opening /proc/self/fd inbetween fork & exec.
History
Date User Action Args
2011-03-27 12:25:43rosslagerwallsetrecipients: + rosslagerwall, loewis, gregory.p.smith, pitrou, vstinner, jyasskin, nadeem.vawda, s7v7nislands, neologix
2011-03-27 12:25:43rosslagerwallsetmessageid: <1301228743.85.0.816506761368.issue8052@psf.upfronthosting.co.za>
2011-03-27 12:25:43rosslagerwalllinkissue8052 messages
2011-03-27 12:25:43rosslagerwallcreate