how to get the pid of the currently running ruby process ie itself in
xp.
Hi,
Junkone wrote:
how to get the pid of the currently running ruby process ie itself in
xp.
puts $$
or
puts Process.pid
Regards,
Park Heesob
···
--
Posted via http://www.ruby-forum.com/\.
Junkone wrote:
p $$
···
--
Ruurd