Merge pull request #3099 from sjackman/popen_read_stderr
popen: Do not suppress stderr
This commit is contained in:
commit
6bde1de309
@ -13,7 +13,7 @@ module Utils
|
|||||||
return pipe.read unless block_given?
|
return pipe.read unless block_given?
|
||||||
yield pipe
|
yield pipe
|
||||||
else
|
else
|
||||||
$stderr.reopen("/dev/null", "w")
|
$stderr.reopen("/dev/null", "w") if !ARGV.debug? && !ARGV.verbose?
|
||||||
exec(*args)
|
exec(*args)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user