pub async fn execute_shell_hook(
command: &str,
payload: &ShellHookPayload,
hook_timeout: Option<Duration>,
) -> Result<(), ShellHookError>Expand description
Execute a shell hook command with message data on stdin.
Returns Ok(()) on exit code 0, Err on non-zero or timeout.