File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -855,8 +855,13 @@ defmodule System do
855
855
All applications are taken down smoothly, all code is unloaded, and all ports
856
856
are closed before the system terminates by calling `halt/1`.
857
857
858
- `status` must be a non-negative integer value which is returned by the
859
- runtime system to the operating system.
858
+ `status` must be a non-negative integer or a binary.
859
+
860
+ * If an integer, the runtime system exits with the integer value which is
861
+ returned to the operating system.
862
+
863
+ * If a binary, an Erlang crash dump is produced with status as slogan, and
864
+ then the runtime system exits with status code 1.
860
865
861
866
Note that on many platforms, only the status codes 0-255 are supported
862
867
by the operating system.
You can’t perform that action at this time.
0 commit comments