diff options
author | Max Lincoln <max@devopsy.com> | 2014-07-09 16:05:17 -0400 |
---|---|---|
committer | Max Lincoln <max@devopsy.com> | 2014-07-17 13:01:04 -0400 |
commit | 5ce6ead83be1a46241db53e401f44c9a40f598ce (patch) | |
tree | de80864f2c23906496195ed55ad98e420d4ae558 /lib/mixlib/shellout/windows.rb | |
parent | b5e27147f0a5f0ccf44ff4968be2bdfb0c2ce35d (diff) | |
download | mixlib-shellout-5ce6ead83be1a46241db53e401f44c9a40f598ce.tar.gz |
Support separate live stream for stderr
Diffstat (limited to 'lib/mixlib/shellout/windows.rb')
-rw-r--r-- | lib/mixlib/shellout/windows.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mixlib/shellout/windows.rb b/lib/mixlib/shellout/windows.rb index 832584a..62adc37 100644 --- a/lib/mixlib/shellout/windows.rb +++ b/lib/mixlib/shellout/windows.rb @@ -167,7 +167,7 @@ module Mixlib begin next_chunk = stderr_read.readpartial(READ_SIZE) @stderr << next_chunk - @live_stream << next_chunk if @live_stream + @live_stderr_stream << next_chunk if @live_stderr_stream rescue EOFError stderr_read.close open_streams.delete(stderr_read) |