BetterErrors icon indicating copy to clipboard operation
BetterErrors copied to clipboard

`huh` doesn't preserve exit code

Open jaredly opened this issue 9 years ago • 0 comments

:~/clone/rsn/withbuckle$ fail
zsh: command not found: fail
:~/clone/rsn/withbuckle$ echo $?
127
:~/clone/rsn/withbuckle$ fail | huh
zsh: command not found: fail

✔ Seems fine!
:~/clone/rsn/withbuckle$ echo $?
0

I expect the exit code (127) to be preserved

jaredly avatar Aug 06 '16 19:08 jaredly