Module: Mutx::Support::Console
- Defined in:
- lib/mutx/support/console.rb
Class Method Summary collapse
-
.execute(command) ⇒ Object
Executes system command.
Class Method Details
.execute(command) ⇒ Object
Executes system command
7 8 9 10 11 |
# File 'lib/mutx/support/console.rb', line 7 def self.execute command `#{command}` # res = IO.popen("#{command}") # res.readlines.join end |