79353831

Date: 2025-01-14 02:11:58
Score: 1
Natty:
Report link

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`
        }
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Iljo