void (@NotNull GeneralCommandLine cmd, boolean passParentEnvs, @NotNull Collection<String> path) { initPythonPath(path, passParentEnvs, cmd.getEnvironment()); ParamsGroup paramGroup = cmd.getParametersList().getParamsGroup(PythonCommandLineState.GROUP_EXE_OPTIONS); assert paramGroup != null; for (String param : paramGroup.getParameters()) { if (param.startsWith(PYTHON_PATH_PREFIX)) { return; } } paramGroup.addParameter(getPythonPathCmdLineArgument(path)); }