結果 : capture exit code of command bash