[wxPython-dev] suggestion for Windows batch files

Robin Dunn robin at alldunn.com
Thu Oct 18 17:08:03 PDT 2007


Jason R. Coombs wrote:
> The current windows batch files installed to the Scripts directory don’t 
> work properly when the path contains spaces (I install Python to 
> C:\Program Files (x86)\Python).


> 
> The extra double-quote at the beginning is treated as the title of the 
> application.  Windows assumes that the first parameter is the title of 
> the application if the first parameter begins with at a quote.  The 
> above syntax will work in the case of both space-embedded and no-space 
> paths.


The batch files are generated.  Can you make the required tweaks to 
wxPython/scripts/CreateBatchFiles.py and send me a patch?  (It's also 
installed to Python's Scripts dir if you don't happen to have a source 
tree handy.

TIA!

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-dev mailing list