Seri
08/09/2018, 9:10 PMgroostav
08/09/2018, 9:31 PMjava.lang.Process
as a Channel<~Message>
. Its got some use-cases in `WindowsTests.kt`: https://github.com/Groostav/kotlinx.exec/blob/master/src/test/kotlin/groostav/kotlinx/exec/WindowsTests.ktexec
returns a Channel
, which then has standard list-style extension functions map
and filter
and etc, so processing a processes output looks a lot like simply processing elements in a list
, which I think is pretty neat, considering the underlying implementation is making the entire thing concurrent.christophsturm
08/10/2018, 12:56 PMSeri
08/10/2018, 2:51 PM