[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: try screen (was: Re: shell scripts in background (with &) - why would they stop?)
From:       Guillaume Marcais <guslist () free ! fr>
Date:       2004-02-03 12:26:41
Message-ID: 333A80A5-5644-11D8-ADDC-003065ED1070 () free ! fr
[Download RAW message or body]

I guess I can add that it is a normal behavior. It is not specific to 
Ruby in anyway but to UNIX. When the ssh session ends, the controlling 
tty of your process disappear and your process gets a SIGHUP, for which 
the default behavior is to terminate the process.

Guillaume.


Le 3 févr. 04, à 00:11, Thomas Adam a écrit :

>  --- Ryan Dlugosz <ryan@dlugosz.net> wrote:
>
>> On Mon, 2004-02-02 at 20:12, Zach Dennis wrote:
>>>> nohup ./processFiles.rb&
>>>> exit
>
> ./somefile.rb &
> disown %1 && logout
>
> Will achieve the same thing.
>
> -- Thomas Adam
>
> =====
> "The Linux Weekend Mechanic" -- http://linuxgazette.net
> "TAG Editor"                 -- http://linuxgazette.net
>
> "<shrug> We'll just save up your sins, Thomas, and punish
> you for all of them at once when you get better. The
> experience will probably kill you. :)"
>
>  -- Benjamin A. Okopnik (Linux Gazette Technical Editor)
>
>
> 	
> 	
> 		
> ___________________________________________________________
> BT Yahoo! Broadband - Free modem offer, sign up online today and save 
> £80 http://btyahoo.yahoo.co.uk
>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic