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
NeTT
NeTT3y ago
Never heard of a process.emit in node (and I can't find it in docs) but you can use Deno.exit(code)
Ed, Edd n Eddy
Ed, Edd n EddyOP3y ago
ok ty will see if that works with what i need to do

Did you find this page helpful?