spawnl(mode, file, *args) -> integer Execute file with arguments from args in a subprocess. 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 that killed it.
(mode, file, *args)
| 985 | # but can be easily implemented in Python |
| 986 | |
| 987 | def spawnl(mode, file, *args): |
| 988 | """spawnl(mode, file, *args) -> integer |
| 989 | |
| 990 | Execute file with arguments from args in a subprocess. |
| 991 | If mode == P_NOWAIT return the pid of the process. |
| 992 | If mode == P_WAIT return the process's exit code if it exits normally; |
| 993 | otherwise return -SIG, where SIG is the signal that killed it. """ |
| 994 | return spawnv(mode, file, args) |
| 995 | |
| 996 | def spawnle(mode, file, *args): |
| 997 | """spawnle(mode, file, *args, env) -> integer |
nothing calls this directly
no test coverage detected
searching dependent graphs…