Could you please try to do the following? 1- Open a terminal window 2- Call your favorite web browser from the terminal window and put it on the background. 3- Close the terminal window What happen with the web browser? Is it still alive?
Stuart Jansen wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Eduardo Sanz-Garcia wrote: > >> I found the following weird behavior with my terminal: >> 1- I start a new terminal window. >> 2- I start a background job in the newly open terminal window. >> 3- When I quit the terminal window the background job is also killed. >> >> How can I resolve that problem? >> > When I parent dies, it's children are killed. You need to detach the > child from the parent. For services (daemons) like Web servers there's > usually an option to tell it detach. If the program doesn't support > detaching, you could use nohup or screen. > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org > > iD8DBQFGjTo/wTOJ4P81PNARAoE1AJ0fZVIEWn0OZNEWxkZEjVx/HNX8pwCcCNvx > sJW2EAHrWWDHC84JGFKKO0A= > =GdIf > -----END PGP SIGNATURE----- > > -------------------- > BYU Unix Users Group > http://uug.byu.edu/ > > The opinions expressed in this message are the responsibility of their > author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. > ___________________________________________________________________ > List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list > > -------------------- BYU Unix Users Group http://uug.byu.edu/ The opinions expressed in this message are the responsibility of their author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG. ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
