]> granicus.if.org Git - python/commit
bpo-36046: posix_spawn() doesn't support uid/gid (GH-16384)
authorVictor Stinner <vstinner@redhat.com>
Wed, 25 Sep 2019 13:52:49 +0000 (15:52 +0200)
committerT. Wouters <thomas@python.org>
Wed, 25 Sep 2019 13:52:49 +0000 (15:52 +0200)
commitfaca8553425c231d867dcabf6a69a9dd21118b6c
tree1a6288fd61a3e8ef1db02dd660cbe3b4b5af642a
parent1dc1acbd73f05f14c974b7ce1041787d7abef31e
bpo-36046: posix_spawn() doesn't support uid/gid (GH-16384)

* subprocess.Popen now longer uses posix_spawn() if uid, gid or gids are set.
* test_subprocess: add "nobody" and "nfsnobody" group names for test_group().
* test_subprocess: test_user() and test_group() are now also tested with close_fds=False.
Lib/subprocess.py
Lib/test/test_subprocess.py