[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

pid of self

Junkone

3/28/2008 1:12:00 AM

how to get the pid of the currently running ruby process ie itself in
xp.
2 Answers

Heesob Park

3/28/2008 2:59:00 AM

0

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-....

R.F. Pels

3/28/2008 3:22:00 PM

0

Junkone wrote:

p $$

--
Ruurd