[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Re: $ variable for process id?

Berger, Daniel

9/30/2003 1:46:00 PM



> -----Original Message-----
> From: daz [mailto:dooby@d10.karoo.co.uk]
> Sent: Monday, September 29, 2003 11:17 PM
> To: ruby-talk@ruby-lang.org
> Subject: Re: $ variable for process id?
>
>
>
> "John W. Long" <ws@johnwlong.com> wrote:
>
> > Hi,
> >
> > I thought I saw a $ variable for the process id on the list
> a few days
> > ago but I can't seem to find it. Could someone please remind me?
> >
> > --
> > John Long
> > wiseheartdesign.com
> >
>
>
> $$ The process number of the program being executed.

Or, Process.pid if you prefer :)

Dan