7 lines
156 B
V
7 lines
156 B
V
import os
|
|
|
|
fn main() {
|
|
result := os.execute('cmd /c dir')
|
|
if result.output !='' {println(result.output)}
|
|
else {println('Error: not working') exit(1)}
|
|
}
|