You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
julia>run(pipeline(`cat`, stdin=IOBuffer("Hello world\n")))
Hello world
Process(`cat`, ProcessExited(0))
But if the IOBuffer contains a substring (eg, from split) a method error occurs:
julia>run(pipeline(`cat`, stdin=IOBuffer(SubString("Hello world\n"))))
ERROR: MethodError: no method matching rawhandle(::Base.GenericIOBuffer{SubArray{UInt8,1,Array{UInt8,1},Tuple{UnitRange{Int64}},true}})
Closest candidates are:rawhandle(::RawFD) at cmd.jl:161rawhandle(::Base.DevNull) at cmd.jl:160rawhandle(::Base.Filesystem.File) at filesystem.jl:75
The text was updated successfully, but these errors were encountered:
c42f
added
io
Involving the I/O subsystem: libuv, read, write, etc.
bug
Indicates an unexpected problem or unintended behavior
labels
Jun 24, 2020
julia> versioninfo()
Julia Version 1.8.0-DEV.1440
<snip>
julia> run(pipeline(`cat`, stdin=IOBuffer(SubString("Hello world\n"))))
Hello world
Process(`cat`, ProcessExited(0))
The following pipeline works as expected:
But if the IOBuffer contains a substring (eg, from
split
) a method error occurs:The text was updated successfully, but these errors were encountered: