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

"Martin v. Löwis" martin at v.loewis.de
Sat Jun 23 23:12:32 CEST 2007


>     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)

I don't get your point: The docs says explicitly "Unix only".

Regards,
Martin


More information about the Python-Dev mailing list