|Next||System Programming in Perl||34|
Every process has a signal handler table
Copied on fork
Some parts of it are preserved across exec
What does nohup do?
It just sets the HUP entry to say 'ignore this signal'
Then it looks at its arguments and execs the command they specify
If a HUP signal is sent to the process, it will be ignored