By "return value", do you mean "output"? You may need to capture stderr, which is what much of cap's output is written to. Try this:

  `cap -v namespace:task 2>&1`

- Jamis

On Mar 4, 2008, at 2:52 PM, sz wrote:


Hi,

I would like to have the return value of a capistrano command for an
app.
I use wxruby as GUI for capistrano and want to get the return value of
commands.

Unlike cap -T and cap -e which return their strings, cap
namespace:task returns an empty string!

So far I use a simple `cap -vT` to get a list of tasks an generate a
treeview from this content.
Now I just need the return values of `cap -v namespace:task` to print
results.

Any ideas?

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


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to