Hi all, Is it possible to check if VM is in detached mode at run-time? My use case: When wx window is closed: If in detached mode, then erlang:halt(). --