結果 : batch get exit code of last command