If I call a command using Kernel#system in Ruby, how do I get its output?

system("ls")

16 Answers
16

Leave a Reply

Your email address will not be published. Required fields are marked *