]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-82616: Add process_group support to subprocess.Popen (#23930)
authorGregory P. Smith <greg@krypto.org>
Thu, 5 May 2022 23:22:32 +0000 (16:22 -0700)
committerGitHub <noreply@github.com>
Thu, 5 May 2022 23:22:32 +0000 (16:22 -0700)
commitf6dd14c65336cda4e2ebccbc6408dfe3b0a68a34
tree75e0b51fc5787a7ba02cf1f0534b292fb9a0a528
parent49fda0cc51c09e26d68431d5f86e11d923cf7b8e
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>
Doc/library/subprocess.rst
Lib/multiprocessing/util.py
Lib/subprocess.py
Lib/test/test_asyncio/test_subprocess.py
Lib/test/test_capi.py
Lib/test/test_distutils.py
Lib/test/test_subprocess.py
Misc/NEWS.d/next/Library/2020-12-24-19-11-53.bpo-38435.rEHTAR.rst [new file with mode: 0644]
Modules/_posixsubprocess.c