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