0

How to avoid message of exit status?

I have many bash commands in my capistrano deploy script. At example:

capture "mkdir -p #{path_img_out}/original"

It calls many times and print output:

DEBUG [dd6ca4fa] Command: mkdir -p /home/deploy/www/test/shared/backups/20140307160556/public/system/images/files/original
DEBUG [dd6ca4fa] Finished in 0.098 seconds with exit status 0 (successful).

How to hide this messages?

mystdeim
  • 4,802
  • 11
  • 49
  • 77
  • Related? http://stackoverflow.com/questions/758774/capistrano-bash-ignore-command-exit-status – fedorqui Mar 07 '14 at 16:11
  • not work, because capistrano 3 has many changes – mystdeim Mar 07 '14 at 16:15
  • I'm not familiar with Capistrano, but `capture` sounds like it was very much meant to specifically capture and report the output. Maybe there is a different command verb you can use? Quick Googling suggests `execute` to my uninformed self. – tripleee Mar 07 '14 at 16:22

0 Answers0