[issue23458] [2.7] random: make the file descriptor non-inheritable (on POSIX)

Antoine Pitrou report at bugs.python.org
Fri Feb 13 16:51:55 CET 2015


Antoine Pitrou added the comment:

I'm not sure what the point is - there are many child descriptors which may inherited, why care about this one?

The right way to avoid this on 2.7 is to call subprocess.Popen(..., close_fds=True).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23458>
_______________________________________


More information about the Python-bugs-list mailing list