-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
bugSomething that's not working as intendedSomething that's not working as intended
Milestone
Description
Ctrl-C seems to kill the background processes lunched at config.fish.
(sh -c 'env -i TERM=$TERM HOME=$(mktemp -d) fish')
~> ps
PID TTY TIME CMD
227597 pts/9 00:00:00 fish
227605 pts/9 00:00:04 python3
227670 pts/9 00:00:00 ps
~> echo 'sleep INF &' >~/.config/fish/config.fish
~> fish
Welcome to fish, the friendly interactive shell
Type `help` for instructions on how to use fish
~> ps
PID TTY TIME CMD
227597 pts/9 00:00:00 fish
227605 pts/9 00:00:16 python3
227879 pts/9 00:00:00 fish
227881 pts/9 00:00:00 sleep
227896 pts/9 00:00:00 ps
~> # <- Hit Ctrl-C
~> ps
PID TTY TIME CMD
227597 pts/9 00:00:00 fish
227605 pts/9 00:00:16 python3 <defunct> # python3 is exited and defunct.
227879 pts/9 00:00:00 fish
227937 pts/9 00:00:00 ps
# And no sleep command.
Ctrl-C key seems to kill the background jobs(sleep & python3).
I think this is bug, right?
Env:
~> fish --version
fish, version 3.1.0-436-g911465a8e
~> uname -a
Linux acm-manjaro 4.19.112-1-MANJARO #1 SMP Fri Mar 20 20:32:56 UTC 2020 x86_64 GNU/Linux
Metadata
Metadata
Assignees
Labels
bugSomething that's not working as intendedSomething that's not working as intended