Task

Run either the   ls   system command   (dir   on Windows),   or the   pause   system command.




Related task
  Get system command output


/* 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", "")