]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Prevent a possible double close of parent pipe fds when the subprocess
authorGregory P. Smith <greg@krypto.org>
Sun, 16 Jun 2013 01:14:56 +0000 (18:14 -0700)
committerGregory P. Smith <greg@krypto.org>
Sun, 16 Jun 2013 01:14:56 +0000 (18:14 -0700)
commit22ba31a3afe39aed3ad4942008b5b9ce7261c293
tree29011326296342ff258b06e8c8a9475d303ce256
parentef888024d86eccb29b10d55066fa33c3aa54a586
parent893f2ffc7c8a110f069bb05c66e60632cc49cbef
Prevent a possible double close of parent pipe fds when the subprocess
exec runs into an error.  Prevent a regular multi-close of the /dev/null
fd when any of stdin, stdout and stderr was set to DEVNULL.
Lib/subprocess.py
Misc/NEWS