結果 : bash capture exit code of command