aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/multiprocessing/util.py
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2022-05-05 16:22:32 -0700
committerGitHub <noreply@github.com>2022-05-05 16:22:32 -0700
commitf6dd14c65336cda4e2ebccbc6408dfe3b0a68a34 (patch)
tree75e0b51fc5787a7ba02cf1f0534b292fb9a0a528 /Lib/multiprocessing/util.py
parent49fda0cc51c09e26d68431d5f86e11d923cf7b8e (diff)
downloadcpython-f6dd14c65336cda4e2ebccbc6408dfe3b0a68a34.tar.gz
cpython-f6dd14c65336cda4e2ebccbc6408dfe3b0a68a34.zip
gh-82616: Add process_group support to subprocess.Popen (#23930)
One more thing that can help prevent people from using `preexec_fn`. Also adds conditional skips to two tests exposing ASAN flakiness on the Ubuntu 20.04 Address Sanitizer Github CI system. When that build is run on more modern systems the "problem" does not show up. It seems ASAN implementation related. Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/multiprocessing/util.py')
-rw-r--r--Lib/multiprocessing/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/multiprocessing/util.py b/Lib/multiprocessing/util.py
index 6ad4632fccb..6ee0d33e88a 100644
--- a/Lib/multiprocessing/util.py
+++ b/Lib/multiprocessing/util.py
@@ -453,7 +453,7 @@ def spawnv_passfds(path, args, passfds):
return _posixsubprocess.fork_exec(
args, [path], True, passfds, None, None,
-1, -1, -1, -1, -1, -1, errpipe_read, errpipe_write,
- False, False, None, None, None, -1, None,
+ False, False, -1, None, None, None, -1, None,
subprocess._USE_VFORK)
finally:
os.close(errpipe_read)