3
有时我会看到“exec()”throws an error code 126 or 127。我在哪里找到所有错误代码及其相应的描述?PHP - 我在哪里找到exec()的错误代码?
有时我会看到“exec()”throws an error code 126 or 127。我在哪里找到所有错误代码及其相应的描述?PHP - 我在哪里找到exec()的错误代码?
在shell文档中以及命令的文档中。
从bash(1)
手册页,退出状态部分:
If a command is not found, the child process created to execute it returns a status of 127. If a command is found but is not executable, the return status is 126.
¿如果PHP在Windows上运行?手册页介绍0到255之间的数字。它们的描述在哪里? – Galled 2011-05-13 17:57:35
在shell文档中以及命令的文档中。 – 2011-05-13 18:25:44
你的回答让我知道,或多或少知道去哪里看看(http://en.tldp.org/LDP/abs/html/exitcodes.html)。只有我需要知道,如果在Windows中的错误代码的exec()是相应的。 – Galled 2011-05-13 21:16:08