asConnection
suspend fun Pair<ByteReadChannel, ByteWriteChannel>.asConnection(env: KsrpcEnvironment<String>): Connection<String>
Create a Connection for the given input/output channel.
suspend fun Pair<InputStream, OutputStream>.asConnection(env: KsrpcEnvironment<String>): Connection<String>
Helper that calls into Pair
Create a Connection that starts the process and uses the Process.getInputStream and Process.getOutputStream as the streams for communication