Eugene,

Probably has to do with PTY versus TTY, and your application not registering
a terminal with streams. If you need to do this, check the docs for
capture() (designed for capturing streams) - or the Ruby library POpen3/4 -
which are for doing this outside of Cap.

You are calling Capistrano tasks from with a rails application? I think you
might be confusing use-cases here, this is a deployment tool, designed to be
called from your workstation, not automated by an app.

That said, projects such as Webistrano have demonstrated that this is
possible, but by shelling out with system calls. It is possible to embed
Capistrano quite nicely inside another application (without resorting to
shelling out) at which point it becomes a really cool piece of software.

-- Lee Hambley

Twitter: @leehambley | @capistranorb
-- 
* 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