popen: Do not suppress stderr when HOMEBREW_STDERR
This commit is contained in:
parent
8bf28477a3
commit
58a1bd6dbf
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user