I need to be able to set the exit code at completion of the emulator process, so that I can distinguish from the OS whether the emulator finished with reasons other than 'normal' or 'shutdown'. Is there a way to do that? erlang:halt(), init:stop(), etc. don't seem to have such an option. Thanks. Serge