[issue8052] subprocess close_fds behavior should only close open fds

Antoine Pitrou report at bugs.python.org
Wed Jan 5 02:01:25 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

> Of course, procfs isn't standard in any case; would it be necessary to
> have a fallback for systems without it? Or do all *nix systems that we
> care about provide it?

/proc/self doesn't exist under OpenSolaris. You have to use /proc/<pid>.
And I suppose there can be circumstances where /proc isn't available at
all (chroot perhaps?). So we would definitely have to provide a
fallback.

----------

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


More information about the Python-bugs-list mailing list