mirror of https://github.com/python/cpython.git
merged win spawn patch
This commit is contained in:
parent
898a365c27
commit
4eb286874f
|
@ -42,7 +42,7 @@ def kill_zombies():
|
|||
# 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 )
|
||||
|
|
Loading…
Reference in New Issue