mirror of
https://github.com/fish-shell/fish-shell
synced 2025-02-13 12:43:43 +00:00
6 lines
138 B
Fish
6 lines
138 B
Fish
exec cat < nosuchfile
|
|
echo "failed: $status"
|
|
not exec cat < nosuchfile
|
|
echo "neg failed: $status"
|
|
exec cat < /dev/null
|
|
echo "not reached"
|