fish-shell/tests/jobs.in
2018-03-04 15:33:36 -06:00

15 lines
200 B
Fish

jobs -q; echo $status
sleep 5 &
sleep 5 &
jobs -c
jobs -q; echo $status
bg -23 1 ^/dev/null
or echo bg: invalid option -23 >&2
fg 3
bg 3
sleep 1 &
disown
jobs -c
disown foo
disown (jobs -p)
or exit 0