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
The simplest way is to just append true to the end of your command.
task :my_task do run "my_command" end
Becomes
task :my_task do run "my_command; true" end