Suppress noise from drawing command invocations
This commit is contained in:
parent
79284012e9
commit
11995d6fd5
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue