From: Steven M. Gava Date: Sun, 7 Oct 2001 11:26:48 +0000 (+0000) Subject: merged win spawn patch X-Git-Tag: v2.2.1c1~1409 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4eb286874f4e50a2c3caf97daef5a1afd7c94688;p=python merged win spawn patch --- diff --git a/Lib/idlelib/spawn.py b/Lib/idlelib/spawn.py index 22617ed129..be8fdf7772 100644 --- a/Lib/idlelib/spawn.py +++ b/Lib/idlelib/spawn.py @@ -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 )