Put nohup at the beginning and & at the end.   The nohup will allow it
outlive its TTY.

run('nohup ruby script/push_server &')


On 2/18/07, Phlip <[EMAIL PROTECTED]> wrote:
>
> Capitranoids:
>
> I need to write run('ruby script/push_server'), and leave that service
> running on the (Linux, Apache) web server.
>
> I can't seem to Google for this crumb of information. How to call run() so
> it detaches a process and leaves it running? I won's use run('... &'),
> because detached processes do not outlive their TTY.
>
> --
>   Phlip
>   http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to