CLI 参考 > CLI 使用概述 > diagnostics
  
diagnostics
applicable to all CLI commands
Description
The exit status values for CLI commands (si, im, tm, aa, integrity) can be used by event triggers for automating processes with Windchill RV&S. This reference page is provided as a guide to the exit status values you may see.
Diagnostics
Possible exit status values for CLI commands are:
0
Successful completion.
or
No differences between the files being compared (using si diff).
1
Command usage error.
2
Command was canceled by user. This does not include cancellations using CTRL-C, which overrides this exit status value. In those cases, the return code will be 130.
3
Invalid element in the selection for the command.
4
Sandbox specified was ambiguous (using an si command). Command not executed.
5
Unable to create or utilize the selection for the command.
6
Unable to continue with the selection for the command because the program cannot find the next element.
10
Connection failed: a network error caused the command to terminate.
16
diff compared the files and found them to be different (using si diff).
17
Failure due to any of the following (using si diff):
invalid command line argument
cannot open one of the input files
out of memory
read error on one of the input files
more than LINE_MAX characters between newlines
19
At least one of the files is a binary file containing embedded NUL (\0) bytes (using si diff).
23
Command succeeded, but with warnings.
128
General command failure.
130
Command was canceled by the user using CTRL-c.
255
Unknown exception or error code.
See Also
Miscellaneous: ACL, options, preferences