Unix‎ > ‎Solaris‎ > ‎Solaris man pages‎ > ‎1‎ > ‎

setpgrp


NAME
     setpgrp - set process group ID

SYNOPSIS
     setpgrp command [arg...]

DESCRIPTION
     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.

OPERANDS
     The following operands are supported:

     command         The name of a command to be invoked.



     arg             An option or argument to command.



EXIT STATUS
     The following exit values are returned:

     1               Error executing the setpgrp utility or  dur-
                     ing exec() of command.



     Otherwise, the exit status will be that of command.

ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWcsu                     |
    |_____________________________|_____________________________|


SEE ALSO
     exec(2), setpgrp(2), attributes(5)







Man pages from Solaris 10 Update 8. See docs.sun.com and www.oracle.com for further documentation and Solaris information.
Comments