mirror of
https://github.com/python/cpython.git
synced 2025-08-21 17:25:34 +00:00
Backport 60542:
The wrapper function is supposed to be for spawnvpe() so that's what we should call [this wrapper only available on OS/2].
This commit is contained in:
parent
ab8fe4e01f
commit
8af7067a19
1 changed files with 2 additions and 2 deletions
|
@ -3412,9 +3412,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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue