Running powershell scripts in Kotlin without creating a file
So i learned how to run a ps1 file from kotlin
here, but the only purpose i have for that file is to run the commands, then delete itself. Is there any way to remove the hassle of creating a file that later will just be deleted?
I have a one lined string of commands, each separated by a semicolon.