summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Gemfile3
-rw-r--r--lib/mixlib/shellout/windows.rb2
2 files changed, 4 insertions, 1 deletions
diff --git a/Gemfile b/Gemfile
index 86160d0..708421e 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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)