The exit code of last command is contained in $?. Use below pseudo code: python myPythonScript.py ret=$? if [ $ret -ne 0 ]; then #Handle failure #exit if ...
確定! 回上一頁