Skip to main content

run_with_cancel

Function run_with_cancel 

Source
pub async fn run_with_cancel(
    spec: &ProcessSpec,
    config: &ProcessConfig,
    cancel: CancellationToken,
) -> AppResult<ProcessResult>
Expand description

Execute a subprocess with the given configuration and cancellation token.