#How to exit the program with a non-zero exit code?
1 messages · Page 1 of 1 (latest)
unix exiting isn't portable between the erlang and js runtimes, so afaik there's nothing in the stdlib or core to do that
maybe you can call this erlang function with ffi https://www.erlang.org/doc/man/init#stop-1
not sure what would be the equivalent for node or deno
What target are you compiling for?
ffi Deno.exit
