I want to invoke an external command from Kotlin code. In C/Perl, I would use system() function. In Python, I would use the subprocess module. In Go, I would us
system()
For Kotlin Native:
platform.posix.system("git status")
For JVM
Runtime.getRuntime().exec("git status")