[tex-k] exit code and --interaction

Manuel Pégourié-Gonnard mpg at elzevir.fr
Thu Oct 30 21:43:59 CET 2008


Hi,

I can't understand why in the following example the exit code is 1 with
--interaction=batchmode while it is not otherwise. Sorry if I'm missing
something obvious.

mpg at roth:~% echo '\\relax hi\n \\bye' | pdftex

 \bye' | pdftexThis is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
 %&-line parsing enabled.
**entering extended mode

*[1{/usr/local/texlive/2008/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]</usr/
local/texlive/2008/texmf-dist/fonts/type1/bluesky/cm/cmr10.pfb>
Output written on texput.pdf (1 page, 4312 bytes).
Transcript written on texput.log.
mpg at roth:~% echo $?
0
mpg at roth:~% echo '\\relax hi\n \\bye' | pdftex --interaction=batchmode

 \bye' | pdftex --interaction=batchmodeThis is pdfTeXk, Version
3.1415926-1.40.9 (Web2C 7.5.7)
 %&-line parsing enabled.
**entering extended mode
mpg at roth:~% echo $?
1
mpg at roth:~%

Thanks,
Manuel.


More information about the tex-k mailing list