Skip to main content

run_step

Function run_step 

Source
pub fn run_step(
    program: &str,
    args: &[&str],
    directory: &Path,
) -> Result<(), CliError>
Expand description

Runs one foreground command with inherited stdio, returning a typed failure carrying the command line when it exits unsuccessfully.

§Errors

Fails when the command cannot start or exits non-zero.