mirror of
https://github.com/envmodules/modules.git
synced 2026-06-18 00:06:53 +08:00
Add function in libtclenvmodules to implement `initStateUsergroups` as a Tcl command, which provides a more efficient way to retrieve current groups of running process, rather forking to execute `id` external binary. Note that if current system does not support the `getgroups` system call, only the primary group name of current user will be returned.