@Override
        public void onTextAvailable(@NotNull ProcessEvent event,
                                    @NotNull Key outputType) {
          if (ProcessOutputTypes.STDOUT.equals(outputType)) {
            output.append(event.getText());
          }
          if (ProcessOutputTypes.STDERR.equals(outputType)) {
            errorMessage.append(event.getText());
          }
        }
@Override
        public void onTextAvailable(@NotNull ProcessEvent event,
                                    @NotNull Key outputType)