Method: RHC::Helpers#exec

Defined in:
lib/rhc/helpers.rb

#exec(cmd) ⇒ Object



244
245
246
247
# File 'lib/rhc/helpers.rb', line 244

def exec(cmd)
  output = Kernel.send(:`, cmd)
  [$?.exitstatus, output]
end