View Single Post
  #46 (permalink)  
Old 04-19-2008, 01:15 AM
shaalini shaalini is offline
D-Web Analyst
 
Join Date: Apr 2007
Posts: 342
shaalini is on a distinguished road
Default Re: Ruby BuiltIn functions

getpgid
Process.getpgid( anInteger ) -> anInteger
Returns the process group id for the given process id. Not available on all platforms.
Process.getpgid(Process.ppid()) » 32438

getpgrp
Process.getpgrp -> anInteger
Returns the process group id for this process. Not available on all platforms.
Process.getpgid(0) » 32438
Process.getpgrp » 32438
__________________
Shaalini.S
Be the Best of Whatever you are...
Reply With Quote