Skip to main content

exec

Function exec 

Source
pub fn exec(argv: &[String], opts: &ExecOpts) -> Result<Output>
Expand description

Run a command to completion, capturing both streams.

Only spawn failures and timeouts are errors here; a non-zero exit is a normal result that the caller decides how to treat.