Staging
v0.5.1
https://github.com/python/cpython
Revision 9daecf37a571e98aaf43a387bcc9e41a7132f477 authored by Victor Stinner on 15 January 2019, 23:02:35 UTC, committed by GitHub on 15 January 2019, 23:02:35 UTC
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>
1 parent a37f524
History
Tip revision: 9daecf37a571e98aaf43a387bcc9e41a7132f477 authored by Victor Stinner on 15 January 2019, 23:02:35 UTC
bpo-35537: subprocess uses os.posix_spawn in some cases (GH-11452)
Tip revision: 9daecf3
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.6 KB
.travis.yml -rw-r--r-- 7.9 KB
CODE_OF_CONDUCT.md -rw-r--r-- 609 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 64.4 KB
README.rst -rw-r--r-- 9.8 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 486.9 KB
configure.ac -rw-r--r-- 159.3 KB
install-sh -rwxr-xr-x 15.0 KB
pyconfig.h.in -rw-r--r-- 42.7 KB
setup.py -rw-r--r-- 99.2 KB

README.rst

back to top