[Idle-dev] [ idlefork-Patches-467724 ] Fix spawn bug on Windows 2000

noreply@sourceforge.net noreply@sourceforge.net
Sun, 07 Oct 2001 04:24:42 -0700


Patches item #467724, was opened at 2001-10-03 20:11
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=309579&aid=467724&group_id=9579

Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Bruce Sherwood (bsherwood)
>Assigned to: Stephen M. Gava (elguavas)
Summary: Fix spawn bug on Windows 2000

Initial Comment:
In spawn.py, in the Windows section, it is a bug
not to put quotes around the Python executor. The
following

  def spawn(bin, *args):
    nargs = [bin]

should be changed to this:

  def spawn(bin, *args):
    nargs = [ '"'+bin+'"' ]

Without this change, on Windows 2000 if Python
is installed in "Program Files" an attempt to
start a run from Idle (F5) fails, due to the
8-character file-name munging.

----------------------------------------------------------------------

>Comment By: Stephen M. Gava (elguavas)
Date: 2001-10-07 04:24

Message:
Logged In: YES 
user_id=75867

merged Bruce's changes

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=309579&aid=467724&group_id=9579