GeneralCommandLine () { PtyCommandLine commandLine = new PtyCommandLine(); commandLine.withConsoleMode(false); commandLine.withInitialColumns(120); commandLine.withParentEnvironmentType(GeneralCommandLine.ParentEnvironmentType.CONSOLE); commandLine.setWorkDirectory(myRunConfiguration.getScriptWorkingDirectory()); commandLine.withExePath(ShConfigurationType.getDefaultShell(myProject)); commandLine.withParameters("-c"); commandLine.withParameters(myRunConfiguration.getScriptText()); return commandLine; }