运行代码后出现Process finished with exit code 0是为什么?

Process finished with exit code 0

意味着你的程序正常执行完毕并退出。

可以科普一下exit code,在大部分编程语言中都适用:

exit code 0 表示程序执行成功,正常退出

exit code 1 表示程序执行执行过程中遇到了某些问题或者错误,非正常退出



原文地址:https://www.cnblogs.com/lxwphp/p/15454312.html