Is there a nice Kotlin shim around `java.lang.Process`/`java.lang.ProcessBuilder` that has been packaged up into a library?
Things I’d like:
• Optionally captures stdout, stderr & exit status wrapped up as a data class as the return value
• Allows piping the stdout of one subprocess as the stdin of another, and capture the final result
I’m sort of looking for something like the syntax and ease of plugging other executables together that you get with bash or similar, but in Kotlin so it’s easier to actually write & test the business logic.