execle(file, *args, env) Execute the executable file with argument list args and environment env, replacing the current process.
(file, *args)
| 572 | execv(file, args) |
| 573 | |
| 574 | def execle(file, *args): |
| 575 | """execle(file, *args, env) |
| 576 | |
| 577 | Execute the executable file with argument list args and |
| 578 | environment env, replacing the current process. """ |
| 579 | env = args[-1] |
| 580 | execve(file, args[:-1], env) |
| 581 | |
| 582 | def execlp(file, *args): |
| 583 | """execlp(file, *args) |