check_exit_status_future

Function check_exit_status_future 

Source
pub fn check_exit_status_future(
    exit_status: Vec<Option<(Arc<Mutex<ExitStatusFuture>>, Span)>>,
) -> Result<(), ShellError>
Expand description

Check the exit status of each pipeline element.

This is used to implement pipefail.