@Override
        public void onEnvironmentPrepared(@NotNull ExternalSystemTaskId id) {
          RunConfigurationTaskState taskState = myConfiguration.getUserData(RunConfigurationTaskState.getKEY());
          if (taskState != null && consoleView != null) {
            taskState.processExecutionResult(processHandler, consoleView);
          }
        }
@Override
        public void onEnvironmentPrepared(@NotNull ExternalSystemTaskId id)