Skip to main content

run_argv

Function run_argv 

Source
pub fn run_argv(
    argv: &[String],
    stdin: &str,
    timeout: Option<Duration>,
) -> Result<SpawnOutput>
Expand description

Run argv with stdin, bounded by timeout and the output cap.

stderr is inherited: these seams are driven from a terminal where the command’s own diagnostics are what an operator needs to see.