Skip to main content

execute

Function execute 

Source
pub async fn execute<F, R>(
    command: Command,
    cancellation: CancellationToken,
    register: F,
) -> Outcome
where F: FnOnce(ChildIdentity) -> R + Send + 'static, R: Future<Output = Result<()>> + Send + 'static,
Expand description

Execute prepared argv with one deadline covering registration and execution. Process capture is raw and bounded; only runtime audit text is cleaned.