[Tex/LaTex] XeLaTeX exit codes

tex-corexetex

I'm running XeLaTeX from a shell script and would like to check for exit codes, to see if an error was encountered during processing.

So I'm looking for a list of possible exit codes. I've checked the documentation and googled quite extensively but can't find such a list.

Thanks.

Best Answer

There's no support for exit codes different from 0 or 1, I'm afraid.

The presence of warnings, as opposed to errors, can be checked for with the texloganalyser script.

Related Question