Call a calback function when quitting Erlang shell with CTRL+C + q.
zabrane Mikael
zabrane3@REDACTED
Fri Sep 10 09:10:53 CEST 2010
Hi List,
I'd like to know if it's possible to tell Erlang shell to register a
callback somewhere,
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.
Advices?
--
Regards
Zabrane
More information about the erlang-questions
mailing list