Suppress noise from drawing command invocations

This commit is contained in:
George Claghorn 2017-12-31 13:02:15 -05:00
parent 79284012e9
commit 11995d6fd5
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ module ActiveStorage
def capture(*argv, to:)
to.binmode
IO.popen(argv) { |out| IO.copy_stream(out, to) }
IO.popen(argv, err: File::NULL) { |out| IO.copy_stream(out, to) }
to.rewind
end