Name

setpgrp

Synopsis

    setpgrp command [argument ...]

Become a session leader by setting the process group ID and the session ID to the current process ID, and then using exec(2) to run the named command and arguments.

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.