Skip to main content

execute_hook_command

Function execute_hook_command 

Source
pub fn execute_hook_command(
    command_str: &str,
    working_dir: &Path,
    env_vars: &BTreeMap<String, String>,
) -> Result<bool, HookError>
Expand description

Executes a shell command inside working_dir with env_vars injected.