@Override
            public void onTextAvailable(@NotNull ProcessEvent event, @NotNull Key outputType) {
              if ((outputType == ProcessOutputTypes.STDOUT && myTool.isShowConsoleOnStdOut())
                || (outputType == ProcessOutputTypes.STDERR && myTool.isShowConsoleOnStdErr())) {
                ApplicationManager.getApplication().invokeLater(() -> {
                  RunContentManager.getInstance(project).toFrontRunContent(executor, processHandler);
                }, project.getDisposed());
              }
            }
@Override
            public void onTextAvailable(@NotNull ProcessEvent event, @NotNull Key outputType)