On Tue, 2006-01-24 at 12:00 -0800, Brandin Creech wrote:
> --- Iban <[EMAIL PROTECTED]> wrote:
> 
> > What is the equivalent SIGNAL to "Archive - Quit" of a program
> > windowed (example: firefox)??
> > 
> > I don't want to kill it by brute force. I want a normal exit.
> 
> SIGTERM is the best signal to quit, I think. Programs can trap the signal, so
> sometimes they'll clean up before SIGTERM. SIGKILL, on the other hand, cannot
> be trapped, so it will always quit the program--useful if the program has
> frozen and SIGTERM doesn't work. However, if you have unsaved documents in
> the programs, I don't think any signal will cause the programs to save
> automatically.

Just to note, TERM is also the default signal used by 'kill', if you
don't specify a different one (e.g -9 / -KILL).

Simon.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to