gh-113117: Support posix_spawn in subprocess.Popen with close_fds=True (#113118)
Add support for `os.POSIX_SPAWN_CLOSEFROM` and `posix_spawn_file_actions_addclosefrom_np` and have the `subprocess` module use them when available. This means `posix_spawn` can now be used in the default `close_fds=True` situation on many platforms. Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
J
Jakub Kulík committed
2b93f5224216d10f8119373e72b5c2b3984e0af6
Parent: 32d87a8
Committed by GitHub <noreply@github.com>
on 12/17/2023, 9:34:57 PM