Norbert Preining wrote:
On Mit, 10 Jan 2007, Hans Hagen wrote:
def exit if @error then Kernel.exit(1) else Kernel.exit(0) end end
Maybe ruby switches the 1 <-> 0??? No idea to be honest.
if execute(ARGV) then report("\nexecution was successful") if $verbose exit(0) else report("\nexecution failed") if $verbose exit(1) end can you check this at the end of texmfstart,rb? Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------