Task

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




Related task
  Get system command output


 
var lines = system ("ls")
foreach line lines {
    println (line)
}
 