@Override
  public void onTextAvailable(@NotNull ProcessEvent event, @NotNull Key outputType) {
    if (outputType == ProcessOutputTypes.STDERR) {
      err.append(event.getText());
    }
    else if (outputType == ProcessOutputTypes.SYSTEM) {
      // skip
    }
    else {
      out.append(event.getText());
    }
  }
@Override
  public void onTextAvailable(@NotNull ProcessEvent event, @NotNull Key outputType)