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

Bruce Cran bruce at
Sat Aug 23 21:59:00 UTC 2008

On Sat, 23 Aug 2008 16:03:26 +0200
Polytropon <freebsd at> wrote:
> In order to prevent firefox from being closed when the starting
> terminal session is closed, start it via
> 	% firefox &
> It will then eventually put status messages to this xterm, but
> the shell is free again to accept commands.
> Another possibility would be to use detach (from the ports), but
> this program is usually used when you want to keep running a program
> after you've logged out.

There's also nohup(1) which I think does the same thing.

Bruce Cran

More information about the freebsd-questions mailing list