RosettaCodeData/Task/Execute-a-system-command/Wren/execute-a-system-command-1.wren
2023-07-01 13:44:08 -04:00

8 lines
190 B
Text

/* run_system_command.wren */
class Command {
foreign static exec(name, param) // the code for this is provided by Go
}
Command.exec("ls", "-lt")
System.print()
Command.exec("dir", "")