+ public void configureCommandLine(@NotNull GeneralCommandLine commandLine, boolean consoleParentEnvs) {
+ if (myPassParentEnvs) {
+ commandLine.withParentEnvironmentType(consoleParentEnvs ? GeneralCommandLine.ParentEnvironmentType.CONSOLE
+ : GeneralCommandLine.ParentEnvironmentType.SYSTEM);
+ }
+ else {
+ commandLine.withParentEnvironmentType(GeneralCommandLine.ParentEnvironmentType.NONE);
+ }
+ commandLine.withEnvironment(myEnvs);
+ }
+