Merge pull request #3099 from sjackman/popen_read_stderr

popen: Do not suppress stderr
This commit is contained in:
Mike McQuaid 2017-09-18 19:22:17 +01:00 committed by GitHub
commit 6bde1de309

View File

@ -13,7 +13,7 @@ module Utils
return pipe.read unless block_given?
yield pipe
else
$stderr.reopen("/dev/null", "w")
$stderr.reopen("/dev/null", "w") if !ARGV.debug? && !ARGV.verbose?
exec(*args)
end
end