Skip to main content

run_confirm

Function run_confirm 

Source
pub fn run_confirm(
    command: Option<&str>,
    timeout_secs: u64,
    document: &ConfirmDocument<'_>,
) -> Result<(), ComputerError>
Expand description

Spawn the hook. Exit 0 proceeds. Any other result is confirm_denied.

No configured command is confirm_required and the action does not run.