結果 : get status code of previous command