@Override
  public void processTerminated(@NotNull ProcessEvent event) {
    if (ProjectManagerEx.getInstanceEx().isProjectOpened(myProject)) {
      var statusBar = WindowManager.getInstance().getStatusBar(myProject);
      if (statusBar != null) {
        statusBar.setInfo(ToolsBundle.message("tools.completed.message", myName, event.getExitCode()));
      }
    }

    if (mySynchronizeAfterExecution) {
      SaveAndSyncHandler.getInstance().scheduleRefresh();
    }
  }
@Override
  public void processTerminated(@NotNull ProcessEvent event)