蜗牛的壳 - Bash 中查看程序返回的错误码 的评论 还是记下来比较好。在 Bash 中启动一个进程,在进程结束后可以通过 echo $? 来查看程序的运行情况。程序的错误代码(返回码)可以通过 exit(error_code); 来指定,或是系统... 1969-12-31T19:00:00-05:00 Typecho https://snailium.com/feed/atom/other-tech/bash-return-code.html