結果 : get previous command exit code