Skip to content

Commit 6309240

Browse files
change subprocess to use posix_spawnp instead of posix_spawn
1 parent 1013d06 commit 6309240

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

Lib/subprocess.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1524,7 +1524,6 @@ def _execute_child(self, args, executable, preexec_fn, close_fds,
15241524
executable = args[0]
15251525

15261526
if (_USE_POSIX_SPAWNP
1527-
and os.path.dirname(executable)
15281527
and preexec_fn is None
15291528
and not close_fds
15301529
and not pass_fds
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The :mod:`subprocess` now uses :func:`os.posix_spawnp` instead of :func:`os.posix_spawn`

0 commit comments

Comments
 (0)