Top Level Namespace

Defined Under Namespace

Modules: OpenShifter

Constant Summary collapse

CONFIG =
data

Instance Method Summary collapse

Instance Method Details

#run(cmd) ⇒ Object



21
22
23
24
25
26
27
# File 'lib/openshifter/init.rb', line 21

def run(cmd)
  io = IO.popen(cmd)
  io.each do |line|
    puts "*> #{line}"
  end
  Process.wait(io.pid)
end