os.exec -> os.execv

This commit is contained in:
Guido van Rossum 1994-01-12 14:05:27 +00:00
parent 3303315ff3
commit 4600566285

View file

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