How to kill erlang program in erlang program? The exit / 1 command does not behave the same as the c language standard library exit .
init:stop()(see init: stop / 0, / 1 ) or erlang:halt()(see erlang: halt / 0, / 1, / 2 ) will stop the node immediately.
init:stop()
erlang:halt()
Source: https://habr.com/ru/post/1615200/More articles:Creating an instance of Singleton creating multiple objects - javaAn array type of script type - typescriptconfused by uniqueness in permutation - c ++Exit google play Game service Leaderboard - androidiOS: UIDocumentPickerViewController - missing iCloud access error - iosUICollectionView error in [_UIFlowLayoutSection updateEstimatedSizeForSection] in iOS9 - Xcode7 - iosHow to use the Sugar API to retrieve data from a user table - soapnightwatch.js - sending custom HTTP request headers - javascriptUnsuppotedOperationException.getCause returns itself - javaIs the next oneton implementation thread safe? - c ++All Articles