Call a calback function when quitting Erlang shell with CTRL+C + q.
Fri Sep 10 09:10:53 CEST 2010
I'd like to know if it's possible to tell Erlang shell to register a
so when I stop my shell with the keystrocke "CTRL+C" followed by "q" letter,
the callback gets called?
This will be useful to do some cleaning before (temporaries, closing
files ...) quitting.
More information about the erlang-questions