On Sat, 12 Oct 2019, Asher Gordon wrote:
> 
>   $ fish -c 'exec cat < /dev/mem'
>   An error occurred while redirecting file '/dev/mem'
>   open: Permission denied
>   <E> fish: src/exec.cpp:1032: failed assertion: this should be unreachable
>   <E> fish: Backtrace:
>   [...]
> 
> Note the `exec' and the `<'. Without the `<', `cat' tries to open
> /dev/mem, not `fish', so the bug does not appear.

I am pleased to report that this problem is fixed in the upcoming 3.1.0
release:

https://github.com/fish-shell/fish-shell/pull/5643

Kind regards,

David Adam
fish committer
zanc...@ucc.gu.uwa.edu.au

Reply via email to