|Skip Navigation Links|
|Exit Print View|
|man pages section 1: User Commands Oracle Solaris 10 1/13 Information Library|
- set process group ID
setpgrp command [arg]...
If the current process is not already a session leader, the setpgrp utility sets the process group ID and session ID to the current process ID and does an exec() of command and its argument(s), if any.
The following operands are supported:
The name of a command to be invoked.
An option or argument to command.
The following exit values are returned:
Error executing the setpgrp utility or during exec() of command.
Otherwise, the exit status will be that of command.
See attributes(5) for descriptions of the following attributes: