protected static @NotNull ExternalSystemTaskNotificationListener wrapWithListener(
    @NotNull ExternalSystemProgressNotificationManagerImpl manager
  ) {
    return new ExternalSystemTaskNotificationListener() {
      @Override
      public void onStatusChange(@NotNull ExternalSystemTaskNotificationEvent event) {
        manager.onStatusChange(event);
      }

      @Override
      public void onTaskOutput(@NotNull ExternalSystemTaskId id, @NotNull String text, boolean stdOut) {
        manager.onTaskOutput(id, text, stdOut);
      }
    };
  }
protected static @NotNull ExternalSystemTaskNotificationListener wrapWithListener(
    @NotNull ExternalSystemProgressNotificationManagerImpl manager
  )