dundalek / closh

Bash-like shell based on Clojure
Eclipse Public License 1.0
1.61k stars 65 forks source link

Fail fast #180

Open piegamesde opened 3 years ago

piegamesde commented 3 years ago

When a subcommand dies with non-zero exit code, I'd expect the shell to handle this and bail out except if there's explicit error handling in the code.

I came here in the hope of finding a replacement for my Bash scripts, and the first thing I write in every Bash script is precisely set -eo pipefail.