popen: Do not suppress stderr when HOMEBREW_STDERR

This commit is contained in:
Shaun Jackman 2017-09-20 11:58:52 -07:00
parent 8bf28477a3
commit 58a1bd6dbf

View File

@ -13,7 +13,7 @@ module Utils
return pipe.read unless block_given?
yield pipe
else
options[:err] ||= :close
options[:err] ||= :close unless ENV["HOMEBREW_STDERR"]
exec(*args, options)
end
end