os.exec -> os.execv

This commit is contained in:
Guido van Rossum 1994-01-12 14:05:27 +00:00
parent 3303315ff3
commit 4600566285
1 changed files with 1 additions and 1 deletions

View File

@ -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