return code(也常说 exit code/status code):在编程或命令行中,程序结束时返回给操作系统或调用者的状态数字,用来表示运行是否成功(通常 0 表示成功,非 0 表示不同类型的错误或异常)。
/rɪˈtɜːn kəʊd/
Please check the return code after running the command.
运行命令后请检查返回码。
If the return code is nonzero, the deployment tool will stop and write an error message to the log.
如果返回码不是 0,部署工具会停止并把错误信息写入日志。
return 源自古法语 retorner(“返回、回转”),code 源自拉丁语 codex(“法典、汇编”)。合在一起在计算机语境中引申为“程序返回的编码化状态值”,用于向外部报告执行结果。
main 的返回值)。