I am trying to execute a command via bash, for example konanc
.
In KotlinJVM this would just be using Runtime.getRuntime().exec("...")
, or creating a Process
using the ProcessBuilder
, however, none of those classes are available in Kotlin-Native, as they are part of the Java libraries.
I tried searching for example code in the documentation and the kotlin-native GitHub repository, but haven't found anything.