結果 : bash run command and capture exit code