>    I have to get the process id for a specified ruby program.
> (e.x) $0 returns the current process name Process.pid returns the
> current
> process id.So how can i get the specified program's pid.

So you want something like "lookup some other ruby program's PID"?
-r
-- 
Posted via http://www.ruby-forum.com/.