SYSTEM — Execute a shell command#
- 
SYSTEM(COMMAND)#
- Passes the command - COMMANDto a shell (see- system(3)). If argument- STATUSis present, it contains the value returned by- system(3), which is presumably 0 if the shell command succeeded. Note that which shell is used to invoke the command is system-dependent and environment-dependent.- Parameters:
- COMMAND – Shall be of default - CHARACTERtype.
- STATUS – (Optional) Shall be of default - INTEGERtype.
 
 - Standard:
- GNU extension 
- Class:
- Subroutine, function 
- Syntax:
- CALL SYSTEM(COMMAND [, STATUS]) STATUS = SYSTEM(COMMAND) 
- See also:
- EXECUTE_COMMAND_LINE — Execute a shell command, which is part of the Fortran 2008 standard and should considered in new code for future portability.