How can I handle SIGINT in Erlang?

前端 未结 2 444
轻奢々
轻奢々 2021-01-04 12:24

I know how to create custom signal handlers in Java, Python, Ruby, Perl, and Lisp, thanks to Google and a plethora of tutorials. I can\'t find online how to create handlers

2条回答
  •  被撕碎了的回忆
    2021-01-04 12:52

    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.

提交回复
热议问题