Re: kill xterm kills app!

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

 



On Wed, 2004-04-28 at 10:18, Jay Daniels wrote:
> If I open a terminal and run a program in the background using the "&"
> when I close the terminal the program gets killed.
> 
> xclock &
> x out of terminal kills xclock!
> 
> How do I prevent this?
> 
> 
> jay
> 

If you start it with the ampersand and later want to close the xterm but
keep the other app (xclock) going, you can use 'disown' to do the same
thing that 'nohup' does when starting it as mentioned in earlier posts. 
For example:

$ xclock &
$ disown xclock

Paul



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux