From: matz@... (Yukihiro Matsumoto) Date: 2003-07-22T10:12:19+09:00 Subject: Re: testunit, exit status and at_exit Hi, In message "Re: testunit, exit status and at_exit" on 03/07/22, "Nathaniel Talbott" writes: | 1. The last exit status that is set wins. So if there are multiple END |procs, and they all set the exit status (by calling #exit), the last one |registered wins (END procs are called in the order they are defined, |correct?) They are executed reverse order they are defined. I think there's a reason for this order, which I don't remember correctly now. On my prototype, the first one wins. Is this OK? | 2. Calling #exit in an END proc does nothing, but calling #exit! |immediately terminates with the given status (skipping any remaining END |procs). It works even now. But Calling exit! bypasses other END procs and finalizers. matz.