How to kill the erlang program within erlang program? exit/1 command does not behave same as c language standard library exit call.
init:stop()
(see init:stop/0, /1) or erlang:halt()
(see erlang:halt/0, /1, /2) will stop the node immediately.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With