summaryrefslogtreecommitdiffstats
path: root/Lib/subprocess.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/subprocess.py')
-rw-r--r--Lib/subprocess.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py
index bc08878..88f0230 100644
--- a/Lib/subprocess.py
+++ b/Lib/subprocess.py
@@ -749,7 +749,6 @@ def _use_posix_spawn():
# These are primarily fail-safe knobs for negatives. A True value does not
# guarantee the given libc/syscall API will be used.
_USE_POSIX_SPAWN = _use_posix_spawn()
-_USE_VFORK = True
_HAVE_POSIX_SPAWN_CLOSEFROM = hasattr(os, 'POSIX_SPAWN_CLOSEFROM')
@@ -1902,7 +1901,7 @@ class Popen:
errpipe_read, errpipe_write,
restore_signals, start_new_session,
process_group, gid, gids, uid, umask,
- preexec_fn, _USE_VFORK)
+ preexec_fn)
self._child_created = True
finally:
# be sure the FD is closed no matter what