@Override
      public void onTextAvailable(@NotNull ProcessEvent event, @NotNull Key outputType) {
        String eventText = event.getText();
        if (StringUtil.isNotEmpty(eventText)) {
          if (ProcessOutputType.isStdout(outputType)) {
            outputCollected.appendStdout(eventText);
          }
          else if (ProcessOutputType.isStderr(outputType)) {
            outputCollected.appendStderr(eventText);
          }
        }
      }
@Override
      public void onTextAvailable(@NotNull ProcessEvent event, @NotNull Key outputType)