Can I programatically trigger a SIGINT event?
I would like to trigger a SIGINT event from a file, is there a way to do this? For example in Node, you can do
process.emit('sigint');
2 Replies
Never heard of a
process.emit
in node (and I can't find it in docs) but you can use Deno.exit(code)
ok ty will see if that works with what i need to do