Anonymous user
Execute a system command: Difference between revisions
→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details
(→{{header|Kotlin}}: Updated example see https://github.com/dkandalov/rosettacode-kotlin for details) |
|||
Line 908:
Scanner(proc.inputStream).use {
while (it.hasNextLine()) println(it.nextLine())
}
}</lang>
|