sequence

Function sequence 

Source
pub async fn sequence<I, E>(
    iter: I,
    env: &mut E,
) -> Result<BoxFuture<'static, ExitStatus>, <I::Item as Spawn<E>>::Error>
Expand description

Spawns any iterable collection of sequential items.

Commands are sequentially executed regardless of the exit status of previous commands. All non-fatal errors are reported and swallowed, however, “fatal” errors are bubbled up and the sequence terminated.