Task

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




Related task
  Get system command output


XCALL SPAWN ("ls *.jpg > file.txt")     ;execute command and continue
XCALL EXEC ("script.sh")                ;execute script or binary and exit    
STOP '@/bin/ls *.jpg > file.txt'        ;exit and execute command