Bobochka
3/7/2016 - 12:46 PM

stream system command output to STDOUT (ruby)

stream system command output to STDOUT (ruby)

IO.popen('ant run') do |io|
  while (line = io.gets) do
    puts line
  end
end