Merge pull request #10890 from Bo98/stderr-dev-null
utils/popen: redirect stderr to /dev/null rather than close
This commit is contained in:
commit
7e2ba95169
@ -50,7 +50,7 @@ module Utils
|
||||
|
||||
yield pipe
|
||||
else
|
||||
options[:err] ||= :close unless ENV["HOMEBREW_STDERR"]
|
||||
options[:err] ||= "/dev/null" unless ENV["HOMEBREW_STDERR"]
|
||||
begin
|
||||
exec(*args, options)
|
||||
rescue Errno::ENOENT
|
||||
|
Loading…
x
Reference in New Issue
Block a user