>>779-780
Rubyではパイプラインで、サブプロセスを実行し、結果を受け取れる。
これで、サイトのHTML が取れる

resText = ""

IO.popen("curl サイトのURL") { |io| resText = io.read }

puts "終了ステータス : #{$?}", resText