Executes an application. Does not depend on ASL initialization.
#include <diag/diago.h> long diag_execute ( command, options, exit_status ) char *command; char *options;> int *exit_status;
The diag_asl_execute subroutine forks and executes an application. This subroutine does not depend on ASL initialization, and it does not preserve the state of ASL.
command | Command or application to run. |
options | Character array, starting with the command, followed by any command arguments, ending with a NULL. |
exit_status | Exit status returned from the command. |
The following values are returned:
0 | Successful return. |
-1 | Error occurred. |