2024-09-29 21:54:53 发布
网友
我创建了pythonvenv(虚拟环境)。我运行了一个命令来得到pylint结果。你知道吗
>pylint --errors-only --output-format=pylint2junit.JunitReporter ./code/XXX/TTTT.py > PylintTest.xml
然后我想得到pylint的状态码。你知道吗
>echo $?
$?你知道吗
它不返回代码。你知道吗
若要获取执行的上一个命令的响应,可以运行-
echo %ERRORLEVEL%
若要获取执行的上一个命令的响应,可以运行-
echo %ERRORLEVEL%
相关问题 更多 >
编程相关推荐