bpo-36046: posix_spawn() doesn't support uid/gid by vstinner · Pull Request #16384 · python/cpython

@vstinner

* 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.

jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request

Dec 5, 2019
* 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.