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

Antoine Pitrou solipsis at pitrou.net
Sat Dec 4 12:45:02 CET 2010


On Sat,  4 Dec 2010 10:10:44 +0100 (CET)
gregory.p.smith <python-checkins at python.org> wrote:
> Author: gregory.p.smith
> Date: Sat Dec  4 10:10:44 2010
> New Revision: 87010
> 
> Log:
> issue7213 + issue2320: Cause a DeprecationWarning if the close_fds argument is
> not passed to subprocess.Popen as the default value will be changing in a
> future Python to the safer and more often desired value of True.

That doesn't seem to be a good idea under Windows, is it?

(“Note that on Windows, you cannot set *close_fds* to true and
also redirect the standard handles by setting *stdin*, *stdout* or
*stderr*.”)




More information about the Python-Dev mailing list