Quantcast

how to check if VM is in detached mode

classic Classic list List threaded Threaded
2 messages Options
moi
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

how to check if VM is in detached mode

moi
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().

--

________________________________________________________________
erlang-questions (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:[hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: how to check if VM is in detached mode

Steve Davis
Hi,

Are you looking for init:get_arguments() maybe?

/s
Loading...