This language bar is your friend. Select your favorite languages!
Select your favorite languages :
- Or search :
- C
- C
- C
- Clojure
- Cobol
- C++
- C#
- D
- Dart
- Elixir
- Erlang
- Fortran
- Go
- Haskell
- JS
- Java
- Java
- Java
- Kotlin
- Lisp
- Lua
- Lua
- PHP
- PHP
- Pascal
- Perl
- Python
- Ruby
- Rust
- Scheme
- VB
abort();
Terminates the process immediatly, without executing exit handlers or flushing streams.
erlang:halt(0).
0_ means normal termination. Any other integer will result in that value being the exit status of the program.
A string will crash the vm and generate a crash report with that as the slogan.
The atom abort will cause the runtime system to abort, if that's allowed
For integer Status the Erlang runtime system closes all ports and allows async threads to finish their operations before exiting. To exit without such flushing use you can use
erlang:halt( Status, [{flush, false}]).
A string will crash the vm and generate a crash report with that as the slogan.
The atom abort will cause the runtime system to abort, if that's allowed
For integer Status the Erlang runtime system closes all ports and allows async threads to finish their operations before exiting. To exit without such flushing use you can use
erlang:halt( Status, [{flush, false}]).
exit
Just prior to termination, Ruby executes any at_exit functions and runs any object finalizers.