From: Josef 'Jupp' Schugt Date: 2003-10-01T04:53:28+09:00 Subject: Re: $ variable for process id? Hi! * John W. Long; 2003-09-30, 12:54 UTC: > From: "daz" > > > > "John W. Long" wrote: > > > 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? > > > > $$ The process number of the program being executed. > Cool! Thanks for the quick response. An alternative and more readable means of obtaining the PID is: Process.pid This brings up the subject of errata for 'Ruby in a Nutshell' - p 37, line 2 reads $$ The process.pid of the current Ruby Program being executed instead of $$ The Process.pid of the current Ruby Program being executed To John: Please see 2.2 Tell me the posting guidelines for comp.lang.ruby in the FAQ for this group that is available at http://rubyhacker.com/clrFAQ.html If you can read German the pointers in section 2.2.8 Links of the German version of the FAQ that is available at http://oss.erdfunkstelle.de/ruby/ Will provide you with additional information about formatting issues and Outlook/Outlook Express that you might find helpful. Note to myself: I should look for English language equivalents of the linked ressources and mail them to Hal. Please take notice of signature! / Bitte Signature beachten! Josef 'Jupp' Schugt -- *Warning!* For sending me messages > 100 kB you need my explicit permission. Otherwise they will be silently discarded. *Vorsicht!* Mails > 100 KB nehme ich nur nach vorheriger Absprache entgegen. Ohne eine solche Absprache werden sie ungelesen geloescht.