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 gregory.p.smith, jyasskin, loewis, nadeem.vawda, neologix, pitrou, rosslagerwall, s7v7nislands, vstinner
Date 2011-03-27.10:14:17
SpamBayes Score 3.8584374e-05
Marked as misclassified No
Message-id <1301220861.19.0.704196168744.issue8052@psf.upfronthosting.co.za>
In-reply-to
Content
Can we use FD_CLOEXEC to archive this goal? Example: open all files with FD_CLOEXEC set and don't close explicitly files on fork. preexec_fn will get access to the files, but the problem is exec(), not preexec_fn.

I suppose that it will slow down programs not using subprocess, and it may have border effects.
History
Date User Action Args
2011-03-27 10:14:21vstinnersetrecipients: + vstinner, loewis, gregory.p.smith, pitrou, jyasskin, nadeem.vawda, s7v7nislands, neologix, rosslagerwall
2011-03-27 10:14:21vstinnersetmessageid: <1301220861.19.0.704196168744.issue8052@psf.upfronthosting.co.za>
2011-03-27 10:14:17vstinnerlinkissue8052 messages
2011-03-27 10:14:17vstinnercreate