GeneralCommandLine (@NotNull String sdkPath, @NotNull List<String> parameters) { final List<String> args = new ArrayList<>(); args.add(sdkPath); args.add(asParamString()); args.addAll(parameters); final GeneralCommandLine cmd = new GeneralCommandLine(args); final Map<String, String> env = cmd.getEnvironment(); addToPythonPath(env); PythonEnvUtil.resetHomePathChanges(sdkPath, env); return cmd; }