Java程序退出,代码为“130”,代码为“130”。 [英] Java program exit with code "130"

查看:5716
本文介绍了Java程序退出,代码为“130”,代码为“130”。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我关闭intellJ中的java程序时,控制台中会出现以下日志:
处理完成后退出代码为130

When I close a java program in intellJ, the following log appears in the console: "Process finished with exit code 130"

有时,代码是1。

我知道这是非常基本的,但我用google搜索互联网,但仍无法找到退出代码的解释。

I know this is the very basic, but I googled Internet and still couldn't find the explanation for the exit code.

代码是什么意思?我在哪里可以找到解释?

What does the code mean? Where can I find the explanation?

推荐答案

从评论中窃取@Baby的答案并将其正式化,表示130退出代码由bash提供,表示用户按Ctrl-C终止了该过程。

To steal @Baby 's answer from the comments and formalize it, this states that the 130 exit code is given by bash, and indicates that the process was terminated by the user pressing Ctrl-C.

这篇关于Java程序退出,代码为“130”,代码为“130”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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