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

The process can’t start (missing, refused, an I/O error).