ONE_EXEC

Executes a shell command

Description:

This routine gives FORTRAN programs access to the UNIX system(3) command. See the system(3) man page for how to construct a suitable command.

Invocation

CALL ONE_EXEC(COMMAND, STATUS)

Arguments

COMMAND = CHARACTER ( ) (Given)
The command to be executed.
STATUS = INTEGER (Given and Returned)
The global status. Set to SAI__ERROR if command fails.