]> granicus.if.org Git - python/commit
issue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag from
authorGregory P. Smith <greg@mad-scientist.com>
Mon, 13 Dec 2010 07:59:39 +0000 (07:59 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Mon, 13 Dec 2010 07:59:39 +0000 (07:59 +0000)
commit51ee270876f4e18ec579e57772e16fce146d805e
treeca518334c744fca3ed243def81dd72d4b9f0c8ba
parentf5604853889bfbbf84b48311c63c0e775dff38cc
issue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag from
the C code, using pipe2() when available.  Adds unittests for close_fds and
cloexec behaviors.
Lib/subprocess.py
Lib/test/subprocessdata/fd_status.py [new file with mode: 0644]
Lib/test/subprocessdata/input_reader.py [new file with mode: 0644]
Lib/test/subprocessdata/qcat.py [new file with mode: 0644]
Lib/test/subprocessdata/qgrep.py [new file with mode: 0644]
Lib/test/test_subprocess.py
Makefile.pre.in
Modules/_posixsubprocess.c
Tools/msi/msi.py
configure.in