Task

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




Related task
  Get system command output


UNSAFE MODULE Exec EXPORTS Main;
 
IMPORT Unix, M3toC;
 
VAR command := M3toC.CopyTtoS("ls");
 
BEGIN
  EVAL Unix.system(command);
  M3toC.FreeCopiedS(command);
END Exec.