[NTG-context] mtxrun exit code
Marco Patzer
lists at homerow.info
Fri May 29 11:35:58 CEST 2020
On Fri, 29 May 2020 11:20:22 +0200
Hans van der Meer <havdmeer at ziggo.nl> wrote:
> I am producing a series of files in a shell script with mtxrun
> --autogenerate --script context input Doing exit mtxrun... shows
> there is no exit number to test in the shell
The exit code from mtxrun works here:
printf '%s\n' '\bye' > good.tex && mtxrun --autogenerate --script context good.tex; echo $?
0
printf '%s\n' '\by' > bad.tex && mtxrun --autogenerate --script context bad.tex; echo $?
1
Marco
More information about the ntg-context
mailing list