"Twisted Command Prompt" on Windows broken when Python path has spaces in it

[email protected] Mon, 15 Feb 2010 22:41:10 -0000
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from Fran Rogers <None>:

I just did a fresh install of Twisted 9.0.0 on my Windows machine (Windows 7 x64), but trying to run the "Twisted Command Prompt" shortcut it installs gives the following error:

{{{
'C:\Program' is not recognized as an internal or external command, operable program or batch file.
}}}

I presume the problem is that I have Python installed in "C:\Program Files (x86)\Python26" instead of the default "C:\Python26" (I like consistency, and installing software in C:\ is nonstandard), and the shortcut doesn't properly quote the paths in the command. It'd probably be a good idea to update the installer (or whatever creates that shortcut) so that the paths in the command are properly escaped with quotes.

----------
Type     : defect
Component: core
Keywords : 
Priority : normal
Nosy     : 
----------
http://twistedmatrix.com/trac/ticket/4278