[Python-Dev] PEP 433: Add cloexec argument to functions creating file descriptors
Nick Coghlan
ncoghlan at gmail.com
Sun Jan 13 12:15:12 CET 2013
On Sun, Jan 13, 2013 at 8:40 PM, Charles-François Natali
<cf.natali at gmail.com> wrote:
>> XXX Should ``subprocess.Popen`` set the close-on-exec flag on file XXX
>> XXX descriptors of the constructor the ``pass_fds`` argument? XXX
>
> What?
> Setting them cloexec would prevent them from being inherited in the
> child process!
Perhaps Victor meant "clear" rather than "set" in this comment?
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev
mailing list