rust-shell-script / rust_cmd_lib

Common rust command-line macros and utilities, to write shell-script like tasks in a clean, natural and rusty way
https://docs.rs/cmd_lib/
Apache License 2.0
1.04k stars 35 forks source link

pipefail doesn't work #66

Closed M1cha closed 4 weeks ago

M1cha commented 1 month ago

With this code, the program exits successfully:

fn main() {
    cmd_lib::run_fun!(false | true).unwrap();
}