Intel® Fortran Compiler 16.0 User and Reference Guide
POSIX Subroutine: Executes a new process by passing command-line arguments.
USE IFPOSIX
CALL PXFEXECV (path,lenpath,argv,lenargv,iargc,ierror)
path |
(Input) Character. The path to the new executable process. |
lenpath |
(Input) INTEGER(4). The length of path string. |
argv |
(Input) An array of character strings. Contains the command-line arguments to be passed to the new process. |
lenargv |
(Input) INTEGER(4). An array that contains the lengths for each corresponding character string in argv. |
iargc |
(Input) INTEGER(4). The number of command-line arguments |
ierror |
(Output) INTEGER(4). The error status. |
If successful, ierror is set to zero; otherwise, an error code.
The PXFEXECV subroutine executes a new executable process (file) by passing command-line arguments specified in the argv array. If execution is successful, no return is made to the calling process.