I feel that I am missing something stupid, but I looked and could not find the answer to my question.
Suppose I have a release of an application that I built using rebar and I ran it la
rel/my_app/bin/my_app start
I let him go about his business for a long time, and then I want to connect the console to check things, so I do
rel/my_app/bin/my_app attach
and get a shell. I cheat, and then when I finished, I want to exit the shell, but leave the application running. If I execute ^G q or q(). It resets the entire application.
I also played with launching the application with +Bi , so that it would not allow someone to accidentally close it, but how can I get out of the attached shell?
erlang rebar
dantswain
source share