@Override
  protected @NotNull ProcessHandler startProcess(@NotNull PythonScriptTargetedCommandLineBuilder builder) throws ExecutionException {
    Runnable afterTask = getAfterTask();
    ProcessHandler processHandler = super.startProcess(builder);
    if (afterTask != null) {
      processHandler.addProcessListener(new ProcessAdapter() {
        @Override
        public void processTerminated(@NotNull ProcessEvent event) {
          ApplicationManager.getApplication().invokeLater(afterTask);
        }
      });
    }
    return processHandler;
  }
@Override
  protected @NotNull ProcessHandler startProcess(@NotNull PythonScriptTargetedCommandLineBuilder builder)