[Zope3-checkins] SVN: Zope3/trunk/zopeskel/bin/zopeservice.py.in Fix a windows error: missing quotes.

Florent Xicluna laxyf at yahoo.fr
Tue Aug 15 06:18:37 EDT 2006


Log message for revision 69504:
  Fix a windows error: missing quotes.
  
  This error occurs when the Python path has space.
  (ex: 'C:\Program Files\Python24\python.exe')
  

Changed:
  U   Zope3/trunk/zopeskel/bin/zopeservice.py.in

-=-
Modified: Zope3/trunk/zopeskel/bin/zopeservice.py.in
===================================================================
--- Zope3/trunk/zopeskel/bin/zopeservice.py.in	2006-08-15 10:17:18 UTC (rev 69503)
+++ Zope3/trunk/zopeskel/bin/zopeservice.py.in	2006-08-15 10:18:37 UTC (rev 69504)
@@ -105,5 +105,5 @@
     import win32serviceutil
     if os.path.exists(PYTHONSERVICE_EXE):
         # This ensures that pythonservice.exe is registered...
-        os.system('%s -register' % PYTHONSERVICE_EXE)
+        os.system('"%s" -register' % PYTHONSERVICE_EXE)
     win32serviceutil.HandleCommandLine(InstanceService)



More information about the Zope3-Checkins mailing list