Name

setpgrp — become a process group leader then chain

Synopsis

setpgrp {next-prog}

Description

setpgrp is a chain-loading utility that attempts to become a proces group leader and then chain loads to next-prog with the execvp(3) function.

next-prog may contain its own command line options, which setpgrp will ignore.

If the process already is a process group leader, no call to the setpgid(2) library function is made.

Author

Jonathan de Boyne Pollard