Intel® Inspector Help
Return the exit code from the target application.
-return-app-exitcode |
By default, an inspxe-cl exit code is returned:
Success and no new problems detected
Usage error
Internal error
Application returned a non-zero exit code
At least one new problem detected
Application returned a non-zero exit code and at least one new problem detected
Use the return-app-exitcode action-option to return the exit code returned by the target application, instead of Intel Inspector exit codes.
This command:
Runs a Detect Deadlocks and Data Races (ti2) analysis on the application myApp.
Stores the result in the default r@@@ti2 result directory in the current working directory, where @@@ represents the next available number.
Generates a summary report of detected problems, and writes it to the inspxe-cl.txt file in the result directory.
Returns the exit code returned by myApp.
$ inspxe-cl -collect ti2 -return-app-exitcode -- myApp