Today, Kevin D. Clark gleaned this insight:

> 
> Warren Mansur writes:
> 
> > Is there a way to release all processes that were run from a
> terminal window > (that is, after they are already running), so they
> won't be closed when you close > the terminal?
> 
> Not in general, no.

You should be able to trap sighup using the shell's builtin trap command �
la:

  trap "" SIGHUP 

You must do this before you start other processes.  You'll probably also
want to trap the terminal signals too...

> 
> > If that's not possible, is there a way to release a specific
> > process after it's already running?
> 
> Not in general, no.

You can use the nohup command to specify that a particular process should
ignore the SIGHUP signal, but you must do this BEFORE starting the
process.  


-- 
PGP/GPG Public key at http://cerberus.ne.mediaone.net/~derek/pubkey.txt
------------------------------------------------------
Derek D. Martin      |  Unix/Linux Geek
[EMAIL PROTECTED]  |  [EMAIL PROTECTED]
------------------------------------------------------


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to