How to run external programs in pure Kotlin?
From a program written in Kotlin for Windows, I want to run external programs. I want to do it I want to do it in pure Kotlin (not Java). Please provide sample code.
For example: how to start and open Notepad with .txt file, MyProgram.exe. (in Windows it's the WinExec() function) What to read about it, maybe a few links. :)
I'm a beginner. I've read the kotlin documentation and couldn't find anything.