Method: ClucumberSubprocess#record_output

Defined in:
lib/clucumber.rb

#record_outputObject



71
72
73
74
75
76
77
78
79
80
# File 'lib/clucumber.rb', line 71

def record_output
  begin
    while line = @out.readline
      @output << line
    end
  rescue PTY::ChildExited
    STDOUT.puts "child exited, stopping."
    nil
  end
end