spawnle(mode, file, *args, env) -> integer Execute file 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 -SIG, where SIG is the signal th
(mode, file, *args)
| 994 | return spawnv(mode, file, args) |
| 995 | |
| 996 | def spawnle(mode, file, *args): |
| 997 | """spawnle(mode, file, *args, env) -> integer |
| 998 | |
| 999 | Execute file with arguments from args in a subprocess with the |
| 1000 | supplied environment. |
| 1001 | If mode == P_NOWAIT return the pid of the process. |
| 1002 | If mode == P_WAIT return the process's exit code if it exits normally; |
| 1003 | otherwise return -SIG, where SIG is the signal that killed it. """ |
| 1004 | env = args[-1] |
| 1005 | return spawnve(mode, file, args[:-1], env) |
| 1006 | |
| 1007 | |
| 1008 | __all__.extend(["spawnl", "spawnle"]) |
nothing calls this directly
no test coverage detected
searching dependent graphs…