Just switched from bash to zsh.
In bash, background tasks continue running when the shell exits. For example here, dolphin
continues running after the
From the zsh documentation:
HUP
... In zsh, if you have a background job running when the shell exits, the shell will assume you want that to be killed; in this case it is sent a particular signal called
SIGHUP
... If you often start jobs that should go on even when the shell has exited, then you can set the optionNO_HUP
, and background jobs will be left alone.
So just set the NO_HUP
option:
% setopt NO_HUP