misc changes
[phpeclipse.git] / net.sourceforge.phpeclipse.launching / src / net / sourceforge / phpdt / internal / launching / PHPInterpreter.java
index 2e342b9..151d5f0 100644 (file)
@@ -3,7 +3,6 @@ package net.sourceforge.phpdt.internal.launching;
 import java.io.File;
 import java.io.IOException;
 
-import org.eclipse.core.internal.resources.OS;
 import org.eclipse.core.runtime.IPath;
 
 public class PHPInterpreter {
@@ -44,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) {