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.
pub async fn capture(
runner: &dyn ProcessRunner,
spec: &ProcessSpec,
) -> Result<Captured, ProcessError>Runs spec, keeping what it prints.
Fails when the process can’t start: missing, refused, or an I/O error.