[Zodb-checkins] CVS: Zope/lib/python/ZEO/tests - forker.py:1.28

Lennart Regebro lennart@torped.se
Tue, 17 Dec 2002 09:30:08 -0500


Update of /cvs-repository/Zope/lib/python/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv30517/lib/python/ZEO/tests

Modified Files:
	forker.py 
Log Message:
Merge to HEAD: The ZEO unit tests and wo_pcgi.py didn't run on Windows if the path to the python executable included a space.


=== Zope/lib/python/ZEO/tests/forker.py 1.27 => 1.28 ===
--- Zope/lib/python/ZEO/tests/forker.py:1.27	Mon Dec 16 18:34:37 2002
+++ Zope/lib/python/ZEO/tests/forker.py	Tue Dec 17 09:30:07 2002
@@ -72,7 +72,7 @@
     if script.endswith('.pyc'):
         script = script[:-1]
     # Create a list of arguments, which we'll tuplify below
-    args = [sys.executable, script, '-C', tmpfile]
+    args = ['"%s"' % sys.executable, '"%s"' % script, '-C', '"%s"' % tmpfile]
     if ro_svr:
         args.append('-r')
     if keep: