Module: Frizz::Middleman::CmdHelper
- Defined in:
- lib/frizz/middleman/tasks.rb
Class Method Summary collapse
Class Method Details
.run_with_live_output(cmd) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/frizz/middleman/tasks.rb', line 6 def self.run_with_live_output(cmd) IO.popen(cmd) do |io| io.each do |line| puts line end end end |