We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
对于每个命令,返回的exit code如下 0 默认,表示命令执行成功 1 表示命令执行出现错误,一般是执行过程中遇到了错误,具体错误可以查看日志或者终端输出 2 表示命令的输入参数不正确,命令没有执行
集成:
echo $?
#include <stdlib.h> #include <stdio.h> #include <sys/types.h> #include <sys/wait.h> int main() { int code=system("./main"); printf("%d\n",WEXITSTATUS(code)); }
The text was updated successfully, but these errors were encountered:
qshell -v qshell -h
返回0
Sorry, something went wrong.
FIXED in 5837d8d
发布 2.0.2 版本
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
对于每个命令,返回的exit code如下
0 默认,表示命令执行成功
1 表示命令执行出现错误,一般是执行过程中遇到了错误,具体错误可以查看日志或者终端输出
2 表示命令的输入参数不正确,命令没有执行
集成:
echo $?
来测试The text was updated successfully, but these errors were encountered: