Process.group_leader

You're seeing just the function group_leader, go back to Process module for more information.

Specs

group_leader() :: pid()

Returns the PID of the group leader for the calling process.

Inlined by the compiler.

Examples

Process.group_leader()
#=> #PID<0.53.0>
Link to this function

group_leader(pid, leader)

View Source

Specs

group_leader(pid(), leader :: pid()) :: true

Sets the group leader of the given pid to leader.

Typically, this is used when a process started from a certain shell should have a group leader other than :init.

Inlined by the compiler.