commercialhaskell / commercialhaskell/stack
--silent or --verbosity silent hides a failing exit status
Open
component: macOS
further investigation required
- Dominant language
- Haskell
- Stars
- 4.1k
- Forks
- 850
- Avg merge
- 10h 37m
- Merged PRs (30d)
- 4
Description
Add a typo in your stack.yaml, so that `stack build` reports an error.
Now try `stack build --silent && echo ok`. You'll see no stdout, no stderr, and "ok", indicating a zero exit status. This is misleading, particularly when trying to debug haskell-language-server startup failures (currently it calls stack with --silent).
Tested with stack Version 2.7.5, Git revision 717ec96c15520748f3fcee00f72504ddccaa30b5 (dirty) (163 commits) aarch64.
Contributor guide
Assessment
This issue has not been assessed yet.