Closed elect86 closed 3 years ago
Hi! Look like related to #21
Something like this?
val out = ByteArrayOutputStream()
pipeline { "ls".process() pipe out }
println(out)
Can I be sure there won't be any race condition because of the Coroutine? Is there a simpler way?
It will work fine and it is the only supported way
As titled, sorry if this may sound dumb, but I'm looking at parsing manually specific commands outputs.