Avoid NPE when deleting a project
[phpeclipse.git] / net.sourceforge.phpeclipse.launching / src / net / sourceforge / phpdt / internal / launching / PHPInterpreter.java
index 63accc2..151d5f0 100644 (file)
@@ -43,8 +43,8 @@ public class PHPInterpreter {
                return null;
        }
        
-       public Process exec(String arguments, File workingDirectory) throws IOException {
-               return Runtime.getRuntime().exec(this.getCommand() + " " +  arguments, null, workingDirectory);
+       public Process exec(String arguments, File workingDirectory, String[] env) throws IOException {
+               return Runtime.getRuntime().exec(this.getCommand() + " " +  arguments, env, workingDirectory);
        }
        
        public boolean equals(Object other) {