mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 06:13:20 +00:00
18 lines
200 B
Fish
18 lines
200 B
Fish
|
#RUN: %fish %s
|
||
|
|
||
|
# See #6397
|
||
|
|
||
|
function f --on-signal USR1
|
||
|
begin
|
||
|
echo a
|
||
|
echo b
|
||
|
end | while read -l line
|
||
|
echo $line
|
||
|
end
|
||
|
end
|
||
|
|
||
|
kill -USR1 $fish_pid
|
||
|
|
||
|
#CHECK: a
|
||
|
#CHECK: b
|