How can I run a Powershell script using Kotlin?
I tried to port some Java code I found on StackOverflow, but I couldn't get it to work. I also tried the following:
Runtime.getRuntime().exec("powershell.exe [path to file]")
but that didn't work either.
What is the simplest way to do this in Kotlin?