Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
joeyh
14y ago
0 comments
Share
Configure your shell to report nonzero exit statuses.
joey@gnu:~>true joey@gnu:~>false zsh: exit 1
In zsh this is done by "setopt print_exit_value". It's a pity shells don't do it by default.
0 comments
default
newest
oldest
njharman
14y ago
Good hint, but it's value is very niche. Waiting until exit for status is fail. Many commands take seconds if not minutes/hours to complete. I wanna see some indication that they are working and not hung/etc.
j
/
k
navigate · click thread line to collapse