11 lines
235 B
Kotlin
11 lines
235 B
Kotlin
// version 1.0.6
|
|
|
|
import java.util.Scanner
|
|
|
|
fun main(args: Array<String>) {
|
|
val command = "cmd /c chcp"
|
|
val p = Runtime.getRuntime().exec(command)
|
|
val sc = Scanner(p.inputStream)
|
|
println(sc.nextLine())
|
|
sc.close()
|
|
}
|