Re: close terminal without killing x program
- From: Peter Lebbing <peter@xxxxxxxxxxxxxxxxx>
- Date: Fri, 04 May 2007 17:05:32 +0200
Peter D. wrote:
catphive wrote:
Hi,
I commonly start gui applications from a terminal with the "command &"
syntax. Then, sometimes I want to close the terminal to get rid of
clutter. This of course kills the child gui process.
Is there any way to avoid this behavior? I'd like to be able to start
x apps from terminal, and then when I'm no longer interested in what's
being printed out on the terminal, close the terminal and keep using
my x app.
man nohup
Or, in a bash shell, the disown command. man bash or info bash. By disowning
a child, the shell doesn't kill that child when it exits. Gotta love the
political correctness of Unix style commands :).
nohup has to be used when starting the command. disown can be done later,
without doing anything special when starting the command.
Peter.
.
- References:
- close terminal without killing x program
- From: catphive
- Re: close terminal without killing x program
- From: Peter D.
- close terminal without killing x program
- Prev by Date: Re: close terminal without killing x program
- Next by Date: Re: How do I add a program to my X menu?
- Previous by thread: Re: close terminal without killing x program
- Index(es):
Relevant Pages
|
|