list=["google", "yahoo","bing","facebook","msn","bigmac"]# user will
submit more every minute.

list.each{|domain|
   If not pid.exist("ping #{Domain}")
    Thread.start{ IO.popen("ping #{domain}")}
   End
}


I hope that explians what im trying to do...

prevent duplicate process from starting...

list.uniq is not a option. I'm looking for proces control...

-- 
Posted via http://www.ruby-forum.com/.