diff options
author | Serdar Sutay <serdar@opscode.com> | 2014-05-13 14:47:59 -0700 |
---|---|---|
committer | Serdar Sutay <serdar@opscode.com> | 2014-05-13 14:47:59 -0700 |
commit | fe7e7a481baed7366f18a81103bb7a95cf5e2b2b (patch) | |
tree | ec68cf1065d2981f21984ed1d59b1cafb3af2449 /lib/mixlib/shellout.rb | |
parent | 59d13c943af14bb337589904e4b27a6460322a0a (diff) | |
parent | e30a3b6a9e4931201aab59f61ab27e60c7446b5c (diff) | |
download | mixlib-shellout-fe7e7a481baed7366f18a81103bb7a95cf5e2b2b.tar.gz |
Merge pull request #26 from akshaykarle/master
[#MIXLIB-19] Copy stderr to live_stream along with stdout of the subprocess
Diffstat (limited to 'lib/mixlib/shellout.rb')
-rw-r--r-- | lib/mixlib/shellout.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/mixlib/shellout.rb b/lib/mixlib/shellout.rb index e4e0435..e446448 100644 --- a/lib/mixlib/shellout.rb +++ b/lib/mixlib/shellout.rb @@ -53,9 +53,9 @@ module Mixlib # to determine if the command was successful. Normally set via options to new attr_accessor :valid_exit_codes - # When live_stream is set, stdout of the subprocess will be copied to it as - # the subprocess is running. For example, if live_stream is set to STDOUT, - # the command's output will be echoed to STDOUT. + # When live_stream is set, stdout and stderr of the subprocess will be + # copied to it as the subprocess is running. For example, if live_stream is + # set to STDOUT, the command's output will be echoed to STDOUT. attr_accessor :live_stream # ShellOut will push data from :input down the stdin of the subprocss. |