[Python-Dev] Proposal for a new function "open_noinherit" to avoid problems with subprocesses and security risks

Matthieu Brucher matthieu.brucher at gmail.com
Sat Jun 23 22:03:41 CEST 2007


Hi,


I think the complaint is not so much about simplicity, but correctness.
> close_fd also closes stdin/stdout/stderr, which might be undesirable
> and differs from POSIX.
>

According to the docs, stdin/stdout and stderr are not closed (
http://docs.python.org/lib/node529.html)


Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20070623/95531174/attachment.html 


More information about the Python-Dev mailing list