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

waitpid2
Process.waitpid2( aPid, anInteger=0 ) -> anArray


Waits for the given child process to exit, returning that child's process id and exit status. anInteger may be a logical or of the flag value Process::WNOHANG (do not block if no child available) or Process::WUNTRACED (return stopped children that haven't been reported). Not all flags are available on all platforms, but a flag value of zero will work on all platforms.
__________________
Shaalini.S
Be the Best of Whatever you are...
Reply With Quote