In a process session with a controlling terminal,
if the controlling process closes the file descriptor of the controlling terminal, does the process session become detached from the controlling terminal, i.e. not have any controlling terminal?
What if a non-controlling process in the session closes the file descriptor of the controlling terminal?
Thanks.
nohupdoes), and as can be found in unix.stackexchange.com/questions/405755 , so too is "maintained through the pid parent hierarchy". Tim has already asked about stopped/background processes in many questions such as unix.stackexchange.com/questions/490986 and unix.stackexchange.com/questions/396840 .