News for hackers. Stuff that matters.
Re:Show HN: Using Rust to write shell-script like tasks by Fiahil on Sunday August 23, 2020 @04:26AM (#24250504)
This is great!

What about "set -euxo pipefail"? I see you were using eprintln before the commands, could we have a "set" macro that would do that for us?

Re:Show HN: Using Rust to write shell-script like tasks by rustshellscript on Sunday August 23, 2020 @08:43AM (#24251502)
You can consider it was enabled by default, and any failed command would return error unless you mask it with “xx || true”.