Skip to main content

spawn_cancellable

Function spawn_cancellable 

Source
pub fn spawn_cancellable(
    program: &str,
    args: &[&str],
    cancel_rx: &Receiver<()>,
    grace_ms: u64,
) -> ToolCallResult
Expand description

Test-visible generic over the binary name. run_apr_cancellable is the "apr"-bound wrapper clients should use in production code.