Task

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




Related task
  Get system command output


 
program SystemTest
integer :: i
 call execute_command_line ("ls", exitstat=i)
end program SystemTest
 