Hope this answers:
- the shell sends a SIGHUP to the program on shell termination, and if the program does not handle/ignore it, it kills the program (*nohup*avoids this) - when the shell terminates (and the program set up to ignore the SIGHUP signal), the shell waits (in vain) for the program to terminate (the shell hangs instead of exiting) (*nohup* avoids this) -anuz On Wed, Jan 28, 2009 at 11:13 PM, Vimal <[email protected]> wrote: > 2009/1/28 nidhi mittal <[email protected]>: > > > > > what i guess is may be evenHandler for windowClosing of terminal > explicitly > > sends kill to all processes > > which are children.. > > > > A terminal emulator could do that (send a KILL to its children), but > it doesn't. Wouldn't it be better for the terminal emulator to notify > its children that it is being closed? SIGHUP is used for this. > > -- > Vimal > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to [email protected] > Please read the FAQ at http://kernelnewbies.org/FAQ > >
