I\'m using Capistrano run a remote task. My task looks like this:
task :my_task do run \"my_command\" end
My problem is that if my_comm
my_comm
I just redirect STDERR and STDOUT to /dev/null, so your
run "my_command"
becomes
run "my_command > /dev/null 2> /dev/null"
this works for standard unix tools pretty well, where, say, cp or ln could fail, but you don't want to halt deployment on such a failure.