[issue8052] subprocess close_fds behavior should only close open fds
Martin v. Löwis
report at bugs.python.org
Sun Mar 27 20:39:36 CEST 2011
Martin v. Löwis <martin at v.loewis.de> added the comment:
> Can we use FD_CLOEXEC to archive this goal?
I think we should use FD_CLOEXEC in all places where it's reasonable.
As others have pointed out, we shouldn't set FD_CLOEXEC for file
descriptors where the application hasn't explicitly requested that.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list