[issue20057] wrong behavior with fork and mmap

STINNER Victor report at bugs.python.org
Mon Dec 23 23:04:15 CET 2013


STINNER Victor added the comment:

This issue is not specific to mmap. Many other functions and libraries may
use private inheritable file descriptors. Python 3.4 does not fix the issue
for third party libraries.

os.system() must be avoided, use subprocess.call() instead. It avoids an
useless shell process and closes all fds by default.

Is it a documentation issue?

----------

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


More information about the Python-bugs-list mailing list