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
This should work
system ls, STDOUT:'/dev/null'