Commit 2a381d1f authored by Andrew MacIntyre's avatar Andrew MacIntyre

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.
parent d3d46f70
...@@ -3538,9 +3538,9 @@ posix_spawnvpe(PyObject *self, PyObject *args) ...@@ -3538,9 +3538,9 @@ posix_spawnvpe(PyObject *self, PyObject *args)
Py_BEGIN_ALLOW_THREADS Py_BEGIN_ALLOW_THREADS
#if defined(PYCC_GCC) #if defined(PYCC_GCC)
spawnval = spawnve(mode, path, argvlist, envlist); spawnval = spawnvpe(mode, path, argvlist, envlist);
#else #else
spawnval = _spawnve(mode, path, argvlist, envlist); spawnval = _spawnvpe(mode, path, argvlist, envlist);
#endif #endif
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment