diff options
-rw-r--r-- | Gemfile | 3 | ||||
-rw-r--r-- | lib/mixlib/shellout/windows.rb | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -9,3 +9,6 @@ group(:test) do end +group(:development) do + gem 'pry' +end diff --git a/lib/mixlib/shellout/windows.rb b/lib/mixlib/shellout/windows.rb index 137aaa9..1bc8b13 100644 --- a/lib/mixlib/shellout/windows.rb +++ b/lib/mixlib/shellout/windows.rb @@ -156,7 +156,7 @@ module Mixlib begin next_chunk = stdout_read.readpartial(READ_SIZE) @stdout << next_chunk - @live_stream << next_chunk if @live_stream + @live_stdout << next_chunk if @live_stdout rescue EOFError stdout_read.close open_streams.delete(stdout_read) |