Query: setpgrp
OS: opensolaris
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
setpgrp(1) User Commands setpgrp(1)NAMEsetpgrp - set process group IDSYNOPSISsetpgrp command [arg]...DESCRIPTIONIf 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.OPERANDSThe following operands are supported: command The name of a command to be invoked. arg An option or argument to command.EXIT STATUSThe following exit values are returned: 1 Error executing the setpgrp utility or during exec() of command. Otherwise, the exit status will be that of command.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+SEE ALSOexec(2), setpgrp(2), attributes(5) SunOS 5.11 5 Jan 2000 setpgrp(1)