From aff7ca38002d58d71f47b10c2fa29ed7dbdd3059 Mon Sep 17 00:00:00 2001 From: Ryan Cragun Date: Fri, 31 Oct 2014 09:12:18 -0700 Subject: Add buffering to the process status pipe --- lib/mixlib/shellout.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/mixlib/shellout.rb') 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 -- cgit v1.2.1