From 010ae9a1e187fdc3ad87eb4c54e083798f3b54d1 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Thu, 24 Dec 2020 21:03:18 -0800 Subject: [PATCH] Fix multiprocessing's _posixsubprocess.fork_exec() call. --- Lib/multiprocessing/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/multiprocessing/util.py b/Lib/multiprocessing/util.py index 21f2a7ebe25..49de43d97e9 100644 --- a/Lib/multiprocessing/util.py +++ b/Lib/multiprocessing/util.py @@ -452,7 +452,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, -1, None) + False, False, -1, None, None, None, -1, None) finally: os.close(errpipe_read) os.close(errpipe_write)