mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
os.exec -> os.execv
This commit is contained in:
parent
3303315ff3
commit
4600566285
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ def sfplay(filename, args):
|
|||
pid = os.fork()
|
||||
if pid == 0:
|
||||
# Child
|
||||
os.exec(SFPLAY, args)
|
||||
os.execv(SFPLAY, args)
|
||||
# NOTREACHED
|
||||
else:
|
||||
# Parent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue