private void addHandlerPathToEnvironment(@NotNull String env,
                                           @NotNull ExternalProcessHandlerService<?> service) throws IOException {
    GitExecutable executable = myHandler.getExecutable();
    File scriptFile = service.getCallbackScriptPath(executable.getId(),
                                                    new GitScriptGenerator(executable),
                                                    shouldUseBatchScript(executable));
    String scriptPath = executable.convertFilePath(scriptFile);
    myHandler.addCustomEnvironmentVariable(env, scriptPath);
  }
private void addHandlerPathToEnvironment(@NotNull String env,
                                           @NotNull ExternalProcessHandlerService<?> service)