関連ワード:  ruby get exit code of shell command  
結果 : ruby check exit code