Expand description
Exit-code aggregation across N child processes.
Two strategies per FR-007 / FR-008:
- Default mode (
default_max):max(child_codes)— intuitive “worst child wins” semantic. - Strict mode (
strict_or): bitwise OR overWEXITSTATUS— byte-equal moreutilsclose_pipes().
Signal-killed children contribute the code 1 (matches moreutils
WIFEXITED fallthrough — non-WIFEXITED wait result → ret |= 1).
Functions§
- default_
max - Aggregate child exit codes using
max()(Default mode, FR-007). - strict_
or - Aggregate child exit codes using bitwise OR (Strict mode, FR-008).