I guess we could have a cap task that actually creates the script on- 
the-fly and embeds the #/bin/bash line and the intended command and an  
ampersand into the newly created file, does the chmod a+x and runs the  
script. That way we dont have to worry about distributing the script  
to all environments.

Anyone ever tried to write such a task??

Mike

On Oct 27, 2009, at 10:35 AM, Lee Hambley wrote:

> I don't like it either (but haven't come up with anything better) -  
> wrap your task call in a script, if you call the script, and allow  
> that to exit - then your script can make something run in the  
> background, this is the way things work for say, the mongrel  
> scripts. (and, anything that starts a server, actually)
>
> -- Lee Hambley
>
> >


--~--~---------~--~----~------------~-------~--~----~
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to