Skip to main content

capture

Function capture 

Source
pub async fn capture(
    runner: &dyn ProcessRunner,
    spec: &ProcessSpec,
) -> Result<Captured, ProcessError>
Expand description

Runs spec, keeping what it prints.

§Errors

Fails when the process can’t start: missing, refused, or an I/O error.