mirror of https://github.com/python/cpython.git
os.exec -> os.execv
This commit is contained in:
parent
3303315ff3
commit
4600566285
|
@ -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…
Reference in New Issue