Created
April 15, 2014 10:28
-
-
Save miguelSantirso/10721083 to your computer and use it in GitHub Desktop.
Run command line comands in ruby
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%x(echo hi) # Return the stdout, redirect stderr to the program's |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment