Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

Process.gid=

(::Integer arg0) -> ::Integer
Process.gid = new_gid → new_gid

Sets the group ID for the current process to new_gid:

Example
Process.gid = 1000 # => 1000
See also .gid .groups .getsid .groups= also in 4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0