merged win spawn patch

This commit is contained in:
Steven M. Gava 2001-10-07 11:26:48 +00:00
parent 898a365c27
commit 4eb286874f
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ elif hasattr(os, 'spawnv'):
# kill_zombies function is a noop.
def spawn(bin, *args):
nargs = [bin]
nargs = ['"'+bin+'"']
for arg in args:
nargs.append( '"'+arg+'"' )
os.spawnv( os.P_NOWAIT, bin, nargs )