]> granicus.if.org Git - python/commitdiff
Backport 60542:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>
Sun, 3 Feb 2008 07:20:39 +0000 (07:20 +0000)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>
Sun, 3 Feb 2008 07:20:39 +0000 (07:20 +0000)
The wrapper function is supposed to be for spawnvpe() so that's
what we should call [this wrapper only available on OS/2].

Modules/posixmodule.c

index aaaa838c275670cfa11817c0f5c67697c4461fc9..77958275f3eed42b18a472013dc55ef9f65c7147 100644 (file)
@@ -3412,9 +3412,9 @@ posix_spawnvpe(PyObject *self, PyObject *args)
 
        Py_BEGIN_ALLOW_THREADS
 #if defined(PYCC_GCC)
-       spawnval = spawnve(mode, path, argvlist, envlist);
+       spawnval = spawnvpe(mode, path, argvlist, envlist);
 #else
-       spawnval = _spawnve(mode, path, argvlist, envlist);
+       spawnval = _spawnvpe(mode, path, argvlist, envlist);
 #endif
        Py_END_ALLOW_THREADS