I am trying to capture stdout/stderr of a windows command. However, it does not seem to work:
run(pipeline(`cmd /C nonexisting.exe`; stderr=devnull, stdout=devnull))
Produces:
Stacktrace:
[1] pipeline_error
@ .\process.jl:565 [inlined]
[2] run(::Base.CmdRedirect; wait::Bool)
@ Base .\process.jl:480
[3] run(::Base.CmdRedirect)
@ Base .\process.jl:477
[4] top-level scope
@ REPL[18]:1