X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/PHPInterpreter.java b/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/PHPInterpreter.java index 2e342b9..151d5f0 100644 --- a/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/PHPInterpreter.java +++ b/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/PHPInterpreter.java @@ -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) {