Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Process::Sys.setegid
(::Integer group) -> nil
Process::Sys.setegid(group) → nil
process.c
View on GitHub ↗
static VALUE
p_sys_setegid(VALUE obj, VALUE id)
{
check_gid_switch();
if (setegid(OBJ2GID(id)) != 0) rb_sys_fail(0);
return Qnil;
}
Set the effective group ID of the calling process to group. Not available on all platforms.