Also note that in a script, you need to do ccall(:jl_exit_on_sigint, Void, (Cint,), 0)
in order to turn a SIGINT
into an exception. I have no idea why it is like this but it has been like this forever and doesn’t seem to be well documented…
Also note that in a script, you need to do ccall(:jl_exit_on_sigint, Void, (Cint,), 0)
in order to turn a SIGINT
into an exception. I have no idea why it is like this but it has been like this forever and doesn’t seem to be well documented…