Skip to main content

run_rows

Function run_rows 

Source
pub fn run_rows(
    cmds: &[String],
    cwd: &Path,
    jobs: usize,
    stop_at_failure: bool,
) -> Vec<Option<Ran>>
Expand description

Run cmds in cwd, at most jobs at once; results are index-aligned.

With jobs > 1 a command that fails while others were running is run once more on its own, in order: only a failure that repeats alone counts, so rows that merely disturb each other cannot turn a gate red. stop_at_failure ends the pass at the first (confirmed) failure — later commands are None.