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

Re: process w/o attached tty?



This doesn't answer the original question: background or not, when a
terminal is closed, it HUPs all of its child processes. True, if you
background a task you can use the Eterm to start other processes as
well, but when you close that Eterm, anything you started from it will
be HUPed, and will close unless you ran it through nohup.

See nohup(1) for more info.

Vineet

* Tom Massey (tom_massey@dingoblue.net.au) [010628 12:23]:
> On Thu, Jun 28, 2001 at 01:35:04AM -0700, Geoff Ludwiczak wrote:
> > Hey, I have a question for you guys.  Can you run a program and 
> > make it detach itself from the tty you run it from?  Like say I 
> > open up an eterm, run xmms from it and then decide to close down
> > eterm, but it'll close xmms with it.  Any way to get it so it
> > doesn't close xmms as well?
> 
> A tty isn't really the same thing as an Eterm, but anyway to do
> what you want the simplest way is to run xmms in the background
> before closing the Eterm. You can do this by running xmms with:
> 
> xmms &
> 
> (goes straight away into the background, you can do what you like
> with the Eterm)
> 
> or, if you've already run xmms and later want to get rid of the
> Eterm:
> 
> Click somewhere in the Eterm to get it's attention.
> Hit <Ctrl-Z> to temporarily stop xmms - it'll give
> you a message something like [1]+ Stopped  xmms, and
> a prompt. Type bg, to background xmms, and then do
> what you like with the Eterm. 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 

Attachment: pgpB4d0Hu7Ers.pgp
Description: PGP signature


Reply to: