fish-shell/tests/signal.in
2019-02-23 12:41:01 -08:00

16 lines
232 B
Fish

function alarm --on-signal ALRM
echo ALRM received
end
kill -s ALRM $fish_pid
function anychild --on-process-exit 0
# Type and exit status
echo $argv[1] $argv[3]
end
command false
command true
command false | command true