As of today there’s no public implementation of the java ProcessBuilder.startPipeline in Android. So I came out with this quick solution, using Kotlin, to pipe multiple processes in Android: object ProcessUtil { private fun check(process: Process, error: (() -> String)) { try { if (process.errorStream.available() > 0) { process.errorStream.bufferedReader().use { it.readText().also { errorText -> c