Module: Kuromi::Runner::Runnable

Included in:
Binary, Command, OptionValue
Defined in:
lib/kuromi/runner/runnable.rb

Instance Method Summary collapse

Instance Method Details

#runObject



6
7
8
9
10
# File 'lib/kuromi/runner/runnable.rb', line 6

def run
  Open3.popen3(self.to_s) do |sin, sout, serr, thr|
    return Output.new(thr.value, sout.read, serr.read)
  end
end