Update of /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/codecompletion
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16575/src/org/python/pydev/editor/codecompletion
Modified Files:
PythonShell.java
Log Message:
Corrected problem: when spawning the process, if the
path to the file had a space, it would not work.
Index: PythonShell.java
===================================================================
RCS file: /cvsroot/pydev/org.python.pydev/src/org/python/pydev/editor/codecompletion/PythonShell.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** PythonShell.java 27 Sep 2004 18:39:49 -0000 1.12
--- PythonShell.java 5 Oct 2004 16:54:17 -0000 1.13
***************
*** 140,144 ****
endIt();
String interpreter = getDefaultInterpreter();
! String execMsg = interpreter+" "+serverFile.getAbsolutePath()+" "+pWrite+" "+pRead;
process = Runtime.getRuntime().exec(execMsg);
--- 140,144 ----
endIt();
String interpreter = getDefaultInterpreter();
! String execMsg = interpreter+" \""+serverFile.getAbsolutePath()+"\" "+pWrite+" "+pRead;
process = Runtime.getRuntime().exec(execMsg);
|