Message343668
They're thin wrappers around the same C functions -- that's just how C works
it is also documented: https://docs.python.org/3/library/os.html#os.execvpe
> In either case, the arguments to the child process **should start with the name of the command being run**, but this is not enforced.
The pattern that I usually use is
```python
cmd = ('bash', '--init-file', 'foo')
os.execvp(cmd[0], cmd) # never returns
``` |
|
Date |
User |
Action |
Args |
2019-05-27 18:02:24 | Anthony Sottile | set | recipients:
+ Anthony Sottile, siming85 |
2019-05-27 18:02:24 | Anthony Sottile | set | messageid: <1558980144.49.0.0267683942047.issue37066@roundup.psfhosted.org> |
2019-05-27 18:02:24 | Anthony Sottile | link | issue37066 messages |
2019-05-27 18:02:24 | Anthony Sottile | create | |
|