Task

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




Related task
  Get system command output


import sys.execute
 
execute( if $os.startsWith('Windows') then 'dir' else 'ls' )