diff options
author | Gregory P. Smith <greg@krypto.org> | 2019-10-12 20:24:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-12 20:24:56 (GMT) |
commit | f3751efb5c8b53b37efbbf75d9422c1d11c01646 (patch) | |
tree | 2e650d45ee4a530df31c2b66d9457d11e6996f33 /Lib/multiprocessing | |
parent | 8177404d520e81f16324a900f093adf3856d33f8 (diff) | |
download | cpython-f3751efb5c8b53b37efbbf75d9422c1d11c01646.zip cpython-f3751efb5c8b53b37efbbf75d9422c1d11c01646.tar.gz cpython-f3751efb5c8b53b37efbbf75d9422c1d11c01646.tar.bz2 |
bpo-38417: Add umask support to subprocess (GH-16726)
On POSIX systems, allow the umask to be set in the child process before we exec.
Diffstat (limited to 'Lib/multiprocessing')
-rw-r--r-- | Lib/multiprocessing/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/multiprocessing/util.py b/Lib/multiprocessing/util.py index 207a2f7..3e640b9 100644 --- a/Lib/multiprocessing/util.py +++ b/Lib/multiprocessing/util.py @@ -429,7 +429,7 @@ def spawnv_passfds(path, args, passfds): return _posixsubprocess.fork_exec( args, [os.fsencode(path)], True, passfds, None, None, -1, -1, -1, -1, -1, -1, errpipe_read, errpipe_write, - False, False, None, None, None, None) + False, False, None, None, None, -1, None) finally: os.close(errpipe_read) os.close(errpipe_write) |