How to pass a `os_workgroup_t` to a child process?

Hi,

This topic is about Workgroups.

I create child processes and I'd like to communicate a os_workgroup_t to my child process so they can join the work group as well.

As far as I understand, the os_workgroup_t value is local to the process.

I've found that one can use os_workgroup_copy_port() and os_workgroup_create_with_port(), but I'm not familiar at all with ports and I wonder what would be the minimal effort to achieve that.

Thank you very much!

Alex