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


zkl: System.cmd("date >foo.txt")
0  // date return code
zkl: File("foo.txt").read().text
Wed Aug 20 00:28:55 PDT 2014