The following works in 1.1 but fails in earlier versions.
What would be the right/best way to capture both stdout and stderr in <1.1?
stdout_buf = IOBuffer()
stderr_buf = IOBuffer()
run(pipeline(ignorestatus(cmd), stdout=stdout_buf, stderr=stderr_buf))
I appreciate that 1.1 has IOBuffer() and spawn interaction changes, but for reference, this is the error in 1.0.3 on macos:
ERROR: MethodError: no method matching rawhandle(::Base.GenericIOBuffer{Array{UInt8,1}})