An option for exit processing

Option

Default

-run-at-exit

none

This option specifies an arbitrary shell command to be run when your program exits or otherwise terminates. In addition to filename conversion characters, you can also use the directive %x for the program's exit status (0 if the program did not call exit).

You can use this option to log the coverage data that results from each session of a program into a testing database system. You can use it to trigger a script such as pc_email at the end of a test run.