Flowdock
change_privilege(p1) public

Change the current process’s real and effective group ID to that specified by integer. Returns the new group ID. Not available on all platforms.

   [Process.gid, Process.egid]          #=> [0, 0]
   Process::GID.change_privilege(33)    #=> 33
   [Process.gid, Process.egid]          #=> [33, 33]
Show source
Register or log in to add new notes.