Task

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




Related task
  Get system command output


sx = xtra("Shell").new()
if the platform contains "win" then
  put sx.shell_cmd("dir")
else
  put sx.shell_cmd("ls")
end if