Skip to content
mosop edited this page Nov 24, 2016 · 1 revision

Running Single Commands

require "run"

cmd = Run::Command.new("echo", [":)"])
cmd.run # => ":)"

And you can run the command again and again.

100.times do
  cmd.run
end
Clone this wiki locally