[Python-Dev] r87010 - in python/branches/py3k: Doc/library/subprocess.rst Lib/subprocess.py Lib/test/test_subprocess.py

Paul Moore p.f.moore at gmail.com
Sun Dec 5 19:02:07 CET 2010


On 5 December 2010 14:20, Antoine Pitrou <solipsis at pitrou.net> wrote:
> How about a best-effort behaviour? Setting close_fds to True would only
> close fds where possible (i.e., not under Windows when piping either of
> stdin, stdout, stderr).

Is that plausible? I thought that it's possible to close fds, but
doesn't necessarily do the right thing. If it's possible to do this,
I'd be OK with it, but if it could cause problems just as subtle as
the ones we already have, I don't see the benefit.

Paul.


More information about the Python-Dev mailing list