[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

huponexit in bash



Hello,

I want to configure bash in order that background
process remains alive if we close the windows from
which we have lauched the process (this would be
especially usefull for X applications: if I lauch
emacs& ; I do not want that closing the xterm windows
close emacs). I have tried the 
shopt -u huponexit 
option but it does not work for nacground process:
shopt -u huponexit
emacs&
then if we close the xterm window; emacs will quit.

I can manually disown the process:
emacs& disown
but would it possible to have that automatically?

Olive


		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page ? Try My Yahoo!
http://my.yahoo.com 



Reply to: