spawnlpe(mode, file, *args, env) -> 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 retu
(mode, file, *args)
| 1022 | return spawnvp(mode, file, args) |
| 1023 | |
| 1024 | def spawnlpe(mode, file, *args): |
| 1025 | """spawnlpe(mode, file, *args, env) -> integer |
| 1026 | |
| 1027 | Execute file (which is looked for along $PATH) with arguments from |
| 1028 | args in a subprocess with the supplied environment. |
| 1029 | If mode == P_NOWAIT return the pid of the process. |
| 1030 | If mode == P_WAIT return the process's exit code if it exits normally; |
| 1031 | otherwise return -SIG, where SIG is the signal that killed it. """ |
| 1032 | env = args[-1] |
| 1033 | return spawnvpe(mode, file, args[:-1], env) |
| 1034 | |
| 1035 | |
| 1036 | __all__.extend(["spawnlp", "spawnlpe"]) |
nothing calls this directly
no test coverage detected
searching dependent graphs…