diff options
author | Ryan Cragun <me@ryan.ec> | 2014-10-31 09:12:18 -0700 |
---|---|---|
committer | Ryan Cragun <me@ryan.ec> | 2014-10-31 12:57:21 -0700 |
commit | aff7ca38002d58d71f47b10c2fa29ed7dbdd3059 (patch) | |
tree | 74c3c462488b557e418ef8ceab8919225ca01fa7 /lib/mixlib/shellout.rb | |
parent | 34c023f17bee57f789bf5e30cdcc3b7d73507cdd (diff) | |
download | mixlib-shellout-aff7ca38002d58d71f47b10c2fa29ed7dbdd3059.tar.gz |
Add buffering to the process status pipe
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 |