]> 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:04:26 +0000 (18:04 -0700)
committerGregory P. Smith <greg@krypto.org>
Sun, 16 Jun 2013 01:04:26 +0000 (18:04 -0700)
commitb5461b9884a1a83ac5c1d03a0f3060b36b695a48
treef1f7022318f1da0dcae0f75062012533619b0080
parent53e5ea7951b674ed223ae8dd3bb2da595d685ec5
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