Re: Ruby BuiltIn functions uid=
Process.uid= anInteger -> aNumeric
Sets the (integer) user id for this process. Not available on all platforms.
wait
Process.wait -> aFixnum
Waits for any child process to exit and returns the process id of that child. Raises a SystemError if there are no child processes. Not available on all platforms.
Process.fork { exit 1; } » 1500
Process.wait » 1500
__________________ Shaalini.S Be the Best of Whatever you are... |