Ross Lagerwall <rosslagerw...@gmail.com> added the comment: I don't think setting the cloexec flag is a viable solution, especially since fds can be opened in custom c modules.
For what its worth, an strace of Java's Process class appears to "cheat" by opening /proc/self/fd inbetween fork & exec. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8052> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com