Skip to content

Commit 94dcf0d

Browse files
author
Andrew MacIntyre
committed
The wrapper function is supposed to be for spawnvpe() so that's
what we should call [this wrapper only available on OS/2]. Backport candidate to 2.5.
1 parent 52895fc commit 94dcf0d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Modules/posixmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3538,9 +3538,9 @@ posix_spawnvpe(PyObject *self, PyObject *args)
35383538

35393539
Py_BEGIN_ALLOW_THREADS
35403540
#if defined(PYCC_GCC)
3541-
spawnval = spawnve(mode, path, argvlist, envlist);
3541+
spawnval = spawnvpe(mode, path, argvlist, envlist);
35423542
#else
3543-
spawnval = _spawnve(mode, path, argvlist, envlist);
3543+
spawnval = _spawnvpe(mode, path, argvlist, envlist);
35443544
#endif
35453545
Py_END_ALLOW_THREADS
35463546

0 commit comments

Comments
 (0)