diff --git a/Library/Homebrew/utils/popen.rb b/Library/Homebrew/utils/popen.rb index 36966a5252..36c2b65851 100644 --- a/Library/Homebrew/utils/popen.rb +++ b/Library/Homebrew/utils/popen.rb @@ -28,7 +28,7 @@ module Utils yield pipe pipe.close_write - IO.select([pipe]) + pipe.wait_readable # Capture the rest of the output output += pipe.read