I am not sure if this makes sense but I am thinking if there is a way to suppress the output shown for a command when run using the system method in ruby? I mea
system
IO.popen
This is another good option:
IO.popen(['echo', 'a']) do |f| f.read == "a\n" or raise end $?.exitstatus == 0 or raise
Nothing will get output to your stdout.
http://www.ruby-doc.org/core-2.1.4/IO.html#method-c-popen