How can I handle SIGINT in Erlang?

倾然丶 夕夏残阳落幕 提交于 2019-11-30 18:03:58

You can not. OS signals handled exclusively by Erlang VM. I guess OS signals can be handled in a driver but it can interfere with the VM signal handler so use it on your own risk.

I stumbled upon this: http://erlang.org/doc/man/kernel_app.html#erl_signal_server. I have not seen it formally announced anywhere, but I might have missed the announcement.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!