Command line API simplified for common use case

This commit is contained in:
Roman Shevchenko
2013-04-25 20:09:05 +02:00
parent ae574867ac
commit aa85c4ec5f
@@ -271,9 +271,7 @@ public class PydevConsoleRunner extends AbstractConsoleRunnerWithHistory<PythonC
RemoteSdkData data = (RemoteSdkData)mySdk.getSdkAdditionalData();
GeneralCommandLine commandLine = new GeneralCommandLine(command);
if (env != null) {
commandLine.getEnvironment().putAll(env);
}
commandLine.getEnvironment().putAll(env);
commandLine.getParametersList().set(1, PythonRemoteInterpreterManager.toSystemDependent(new File(data.getHelpersPath(),
PYDEV_PYDEVCONSOLE_PY)