You can also specify System.in as input, only for the native target. Same as in the now updated "Get started with Kotlin/Native" guide:
nativeTarget.apply {
binaries {
executable {
entryPoint = "main"
runTask?.standardInput = System.`in`
}
}
}