Does the following way
$ (sleep 123 &)
$ jobs
$
remove the process group of sleep 123
from bash's job control? What is the difference between the above way and disown
then?
Note that the sleep 123
process is still in the same process group led by the now disappearing subshell, and in the same process session as the interactive shell, so share the same controlling terminal.
Does not being in the shell's job control explain that the sleep 123
process will not receive any signal (including SIGHUP) sent from the bash process?
Thanks.
(...)&
in the proposed dupe and(...&)
in this question. – Kusalananda Dec 27 '18 at 17:20