mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +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()
|
pid = os.fork()
|
||||||
if pid == 0:
|
if pid == 0:
|
||||||
# Child
|
# Child
|
||||||
os.exec(SFPLAY, args)
|
os.execv(SFPLAY, args)
|
||||||
# NOTREACHED
|
# NOTREACHED
|
||||||
else:
|
else:
|
||||||
# Parent
|
# Parent
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue