#How to exit the program with a non-zero exit code?

1 messages · Page 1 of 1 (latest)

orchid cliff
#

I don't want a full-on crash with panic with a backtrace

hollow plinth
#

unix exiting isn't portable between the erlang and js runtimes, so afaik there's nothing in the stdlib or core to do that

rich coral
#

not sure what would be the equivalent for node or deno

inland patio
#

What target are you compiling for?

orchid cliff
#

js (deno)

#

y'all gave me a nefarious idea for a one-function package hmm

jade pivot
#

ffi Deno.exit