Passing exceptions to executable programs to stop them from execution

╄→гoц情女王★ 提交于 2019-12-13 07:51:37

问题


I heard this during a discussion that anti-viruses have this feature of stopping a program from executing by passing exceptions to it.

So how do you pass exceptions programmatically?


回答1:


You can't "pass an exception" to another program. (I have at least never heard of any such terminology.)

Most operating systems allow one process to kill another by for instance sending it a signal, but that's different.



来源:https://stackoverflow.com/questions/6559305/passing-exceptions-to-executable-programs-to-stop-them-from-execution

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