pub fn execute_hooks( hook_type: &str, working_directory: &Path, variables: &[(&str, &str)], ) -> Result<()>