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 find the easiest option to do this:
run "my_command || :"
Notice: : is the NOP command so the exit code will simply be ignored.
: