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