System.exit()和killProcess之间的差异() [英] difference between System.exit() and killProcess()

查看:93
本文介绍了System.exit()和killProcess之间的差异()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么区别,如果我称之为 System.exit() killProcess()。结果
我感兴趣的是差异仅

What's the difference if I call System.exit() vs. killProcess().
I am interested in difference only

推荐答案

我不认为有任何区别。虽然有System.exit(),你应该首先调用runFinalizersOnExit

I dont think There is any difference. although with System.exit(), you should call runFinalizersOnExit first

这篇关于System.exit()和killProcess之间的差异()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆