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

Backport candidate to 2.5.

Modules/posixmodule.c

index 367a1bbf73a66db973b484f58aef7a73640919a6..77d408468bd7d5020188cfa7b0353219f8505122 100644 (file)
@@ -3538,9 +3538,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