void (@NotNull ExecutionEnvironment environment) { RunnerAndConfigurationSettings settings = environment.getRunnerAndConfigurationSettings(); if (settings == null) { return; } RunConfiguration configuration = settings.getConfiguration(); if (configuration instanceof ShRunConfiguration) { Key<Boolean> userDataKey = getRunBeforeUserDataKey(configuration); configuration.getProject().putUserData(userDataKey, true); } }