diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-01-16 00:02:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-16 00:02:35 +0100 |
commit | 9daecf37a571e98aaf43a387bcc9e41a7132f477 (patch) | |
tree | 845a37230f2a9d6eed12a4fc84727394ad323d68 /Python/pystrcmp.c | |
parent | a37f52436f9aa4b9292878b72f3ff1480e2606c3 (diff) | |
download | cpython-git-9daecf37a571e98aaf43a387bcc9e41a7132f477.tar.gz |
bpo-35537: subprocess uses os.posix_spawn in some cases (GH-11452)
The subprocess module can now use the os.posix_spawn() function
in some cases for better performance. Currently, it is only used on macOS
and Linux (using glibc 2.24 or newer) if all these conditions are met:
* executable path contains a directory
* close_fds=False
* preexec_fn, pass_fds, cwd, stdin, stdout, stderr
and start_new_session parameters are not set
Co-authored-by: Joannah Nanjekye <nanjekyejoannah@gmail.com>
Diffstat (limited to 'Python/pystrcmp.c')
0 files changed, 0 insertions, 0 deletions