Typing the following in at an interactive prompt, hitting enter, then ^C works (i.e. it stops);
but execute the following script and try to stop it with ctrl+c and it never stops:
#!build/fish
while true
echo hi
end
But it can be backgrounded via ctrl+z, so it's not that signals are blocked, the issue appears to be specific to ctrl+c.
Typing the following in at an interactive prompt, hitting enter, then
^Cworks (i.e. it stops);but execute the following script and try to stop it with ctrl+c and it never stops:
But it can be backgrounded via ctrl+z, so it's not that signals are blocked, the issue appears to be specific to ctrl+c.