From 634d75819af2f56699516e263a566142993a02fb Mon Sep 17 00:00:00 2001 From: Ryan Cragun Date: Fri, 31 Oct 2014 12:29:40 -0700 Subject: Remove child process pipe from open pipes when the stream is closed --- lib/mixlib/shellout/unix.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/mixlib/shellout/unix.rb b/lib/mixlib/shellout/unix.rb index e0b6d67..66c4489 100644 --- a/lib/mixlib/shellout/unix.rb +++ b/lib/mixlib/shellout/unix.rb @@ -326,6 +326,7 @@ module Mixlib true ensure child_process_status.close + open_pipes.delete(child_process_status) end end -- cgit v1.2.1