Update of /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/codecoverage
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14099/src/org/python/pydev/debug/codecoverage
Modified Files:
PyCoverage.java
Log Message:
- Fixed problems when calling Runtime.exec([]) with empty/null args
- Fixed synch problem getting code analysis severities
Index: PyCoverage.java
===================================================================
RCS file: /cvsroot/pydev/org.python.pydev.debug/src/org/python/pydev/debug/codecoverage/PyCoverage.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** PyCoverage.java 15 Sep 2007 18:48:58 -0000 1.21
--- PyCoverage.java 31 Jul 2008 23:48:22 -0000 1.22
***************
*** 19,22 ****
--- 19,23 ----
import org.python.pydev.debug.ui.launching.PythonRunnerConfig;
import org.python.pydev.plugin.PydevPlugin;
+ import org.python.pydev.runners.SimpleRunner;
import org.python.pydev.utils.PyFileListing;
import org.python.pydev.utils.PyFileListing.PyFileListingInfo;
***************
*** 256,263 ****
*/
private Process execute(String[] cmdLine) throws IOException {
! Process p;
!
! p = Runtime.getRuntime().exec(cmdLine, null);
! return p;
}
--- 257,261 ----
*/
private Process execute(String[] cmdLine) throws IOException {
! return SimpleRunner.createProcess(cmdLine, null);
}
|