mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
merged win spawn patch
This commit is contained in:
parent
898a365c27
commit
4eb286874f
1 changed files with 1 additions and 1 deletions
|
@ -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 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue