spawnlp(mode, file, *args) -> integer Execute file (which is looked for along $PATH) with arguments from args in a subprocess with the supplied environment. If mode == P_NOWAIT return the pid of the process. If mode == P_WAIT return the process's exit code if it exits normally; otherwise return -SI
(mode, file, *args)
| 1012 | # At the moment, Windows doesn't implement spawnvp[e], |
| 1013 | # so it won't have spawnlp[e] either. |
| 1014 | def spawnlp(mode, file, *args): |
| 1015 | """spawnlp(mode, file, *args) -> integer |
| 1016 | |
| 1017 | Execute file (which is looked for along $PATH) with arguments from |
| 1018 | args in a subprocess with the supplied environment. |
| 1019 | If mode == P_NOWAIT return the pid of the process. |
| 1020 | If mode == P_WAIT return the process's exit code if it exits normally; |
| 1021 | otherwise return -SIG, where SIG is the signal that killed it. """ |
| 1022 | return spawnvp(mode, file, args) |
| 1023 | |
| 1024 | def spawnlpe(mode, file, *args): |
| 1025 | """spawnlpe(mode, file, *args, env) -> integer |
nothing calls this directly
no test coverage detected
searching dependent graphs…