From: Michael S. <mik...@ho...> - 2002-11-07 23:32:45
|
Hi, I have just started to use PythonCard. Just thought you may want to know about a bug/problem I may have found. My python path is c:\program files\python22 and when I tried to run scripts from the editors (eg CodeEditor) they would not work, because there was a space in the path. In the runScript function of the editor files, if I change os.spawnv(os.P_NOWAIT, python, [python, '-i', filename] + args) to os.spawnv(os.P_NOWAIT, python, ['"'+python+'"', '-i', filename] + args) the scripts run (eg line 1017 in CodeEditor.py) Let me know if there is a better way to fix this. Cheers Michael Sorich --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.408 / Virus Database: 230 - Release Date: 24/10/2002 |