@Override
        public void onEnd(@NotNull ExternalSystemTaskId id) {
          final String endDateTime = DateFormatUtil.formatTimeWithSeconds(System.currentTimeMillis());
          final String farewell = ExternalSystemBundle.message("run.text.ended.task", endDateTime, settingsDescription);
          processHandler.notifyTextAvailable(farewell + "\n", ProcessOutputTypes.SYSTEM);
          ExternalSystemRunConfiguration.foldGreetingOrFarewell(consoleView, farewell, false);
          processHandler.notifyProcessTerminated(0);
        }
@Override
        public void onEnd(@NotNull ExternalSystemTaskId id)