diff options
author | Akshay Karle <akshay.a.karle@gmail.com> | 2013-09-26 15:06:27 +0530 |
---|---|---|
committer | Akshay Karle <akshay.a.karle@gmail.com> | 2013-09-26 23:10:39 +0530 |
commit | c0173e6b26dff8e8f99a779412eafccb1d2165d0 (patch) | |
tree | fbdf85bd08b6c0c5fb83a6789b7f1c9018bafef0 /lib/mixlib/shellout/unix.rb | |
parent | e986fc3ea9d0a6f09c005e7240db60b4db2861a7 (diff) | |
download | mixlib-shellout-c0173e6b26dff8e8f99a779412eafccb1d2165d0.tar.gz |
Add stderr to live_stream.
Diffstat (limited to 'lib/mixlib/shellout/unix.rb')
-rw-r--r-- | lib/mixlib/shellout/unix.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mixlib/shellout/unix.rb b/lib/mixlib/shellout/unix.rb index d7b8b92..489fc7d 100644 --- a/lib/mixlib/shellout/unix.rb +++ b/lib/mixlib/shellout/unix.rb @@ -252,6 +252,7 @@ module Mixlib def read_stderr_to_buffer while chunk = child_stderr.read_nonblock(READ_SIZE) @stderr << chunk + @live_stream << chunk if @live_stream end rescue Errno::EAGAIN rescue EOFError |