Task
Execute a system command and get its output into the program. The output may be stored in any kind of collection (array, list, etc.).




Related task
  Execute a system command


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