User Guide

  • 2020
  • 09/09/2020
  • Public Content
Contents

return-app-exitcode

Return the exit code from the target application.

Syntax

-return-app-exitcode
Default
By default, an
inspxe-cl
exit code is returned:
0
Success and no new problems detected
1
Usage error
2
Internal error
4
Application returned a non-zero exit code
8
At least one new problem detected
12
Application returned a non-zero exit code and at least one new problem detected
Actions Modified
Description
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

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804