Closing the terminal results in closing of application started by the terminal even if the processes is backgrounded

Thomas Dickey dickey at radix.net
Sat Aug 23 11:01:02 UTC 2008


On Sat, Aug 23, 2008 at 01:36:32PM +0530, Siju George wrote:
> I started Firefox from an xterm.
> Then I pressed <ctrl> +Z
> And the I typed bg to background Firefox process.
> But when I close xterm firefox also closes.

firefox still gets a SIGHUP since its controlling terminal is that xterm.
(if it's suspended, that doesn't appear to change anything).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


More information about the freebsd-questions mailing list