[Zope-Coders] Re: [ZC] 732/ 1 Request "wo_pcgi and unit tests doens't work on Windows with spaces in the paths."
Lennart Regebro
lennart@regebro.nu
Mon, 16 Dec 2002 21:40:01 +0100
From: "Collector: Zope Bugs, Features, and Patches ..."
<zope-coders@zope.org>
> So, os.system('C:\Program Files\Python22\python.exe ramalama.py') will
fail.
1. os.system('"C:\Program Files\Python22\python.exe" ramalama.py') works
2. os.spawnv(P_WAIT, 'C:\Program Files\Python22\python.exe',
['ramalama.py']) also works.
Please state any opinion on which of the solutions you preferr, and I'll try
to fix all places where it occurs.