SyntaxFix
Write A Post
Hire A Developer
Questions
I'm definitely not a Ruby expert, but I'll give it a shot:
$ irb system "echo Hi" Hi => true
You should also be able to do things like:
cmd = 'ls' system(cmd)