void (@NotNull ExternalSystemTaskId id, @NotNull String text, boolean stdOut) { if (consoleView != null) { consoleManager.onOutput(consoleView, processHandler, text, stdOut ? ProcessOutputTypes.STDOUT : ProcessOutputTypes.STDERR); } else { processHandler.notifyTextAvailable(text, stdOut ? ProcessOutputTypes.STDOUT : ProcessOutputTypes.STDERR); } eventDispatcher.setStdOut(stdOut); eventDispatcher.append(text); }