fish-shell/tests/jobs.in
Fabian Homborg 3edb7d538f Improve bg argument handling
- Error out if anything that is not a PID is given

- Otherwise background all matching existing jobs, even if not all
  PIDs exist (but print a message for the non-existing ones)

Fixes #3909.
2017-04-04 14:59:43 +02:00

7 lines
57 B
Fish

sleep 5 &
sleep 5 &
jobs -c
bg -23 1
fg 3
bg 3
or exit 0