spawnve(mode, file, args, env) -> integer Execute file with arguments from args in a subprocess with the specified 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, env)
| 945 | return _spawnvef(mode, file, args, None, execv) |
| 946 | |
| 947 | def spawnve(mode, file, args, env): |
| 948 | """spawnve(mode, file, args, env) -> integer |
| 949 | |
| 950 | Execute file with arguments from args in a subprocess with the |
| 951 | specified environment. |
| 952 | If mode == P_NOWAIT return the pid of the process. |
| 953 | If mode == P_WAIT return the process's exit code if it exits normally; |
| 954 | otherwise return -SIG, where SIG is the signal that killed it. """ |
| 955 | return _spawnvef(mode, file, args, env, execve) |
| 956 | |
| 957 | # Note: spawnvp[e] isn't currently supported on Windows |
| 958 |