diff options
author | Serdar Sutay <serdar@opscode.com> | 2014-11-06 08:25:52 -0800 |
---|---|---|
committer | Serdar Sutay <serdar@opscode.com> | 2014-11-06 08:25:52 -0800 |
commit | 6ffe8cca0f88ceb0a1ec6eb0d1a721b6faf11f4a (patch) | |
tree | 85dcdb6d23598be1dde1ed1c16ab40997063a02e /lib/mixlib/shellout.rb | |
parent | 34c023f17bee57f789bf5e30cdcc3b7d73507cdd (diff) | |
parent | 7d54004bfbe0d89369171f431f12cfbb9122216c (diff) | |
download | mixlib-shellout-6ffe8cca0f88ceb0a1ec6eb0d1a721b6faf11f4a.tar.gz |
Merge pull request #70 from opscode/ryan/issue_2062_12
Add buffering to the process status pipe (CHEF 2062)
Diffstat (limited to 'lib/mixlib/shellout.rb')
-rw-r--r-- | lib/mixlib/shellout.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mixlib/shellout.rb b/lib/mixlib/shellout.rb index a379ee8..2b53d02 100644 --- a/lib/mixlib/shellout.rb +++ b/lib/mixlib/shellout.rb @@ -144,7 +144,7 @@ module Mixlib # cmd = Mixlib::ShellOut.new("apachectl", "start", :user => 'www', :env => nil, :cwd => '/tmp') # cmd.run_command # etc. def initialize(*command_args) - @stdout, @stderr = '', '' + @stdout, @stderr, @process_status = '', '', '' @live_stdout = @live_stderr = nil @input = nil @log_level = :debug |