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