Next | Unix Command Internals | 24 |
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
Next | Copyright © 2002 M. J. Dominus |