結果 : bash get command output and exit code