send to debug
This commit is contained in:
parent
e8c1e6a8f4
commit
15de29f0bb
1 changed files with 3 additions and 4 deletions
|
@ -368,10 +368,9 @@ function discard_input(source::PortAudioSource)
|
|||
end
|
||||
|
||||
function suppress_err(dofunc::Function)
|
||||
nullfile = @static Sys.iswindows() ? "nul" : "/dev/null"
|
||||
open(nullfile, "w") do io
|
||||
redirect_stderr(dofunc, io)
|
||||
end
|
||||
io = IOBuffer()
|
||||
redirect_stderr(dofunc, io)
|
||||
@debug String(take!(io))
|
||||
end
|
||||
|
||||
function __init__()
|
||||
|
|
Loading…
Reference in a new issue