Unix and Linux Discussions Tagged with exec command |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
5,932 |
UNIX for Beginners Questions & Answers |
|
|
|
11 |
2,268 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
8,463 |
Shell Programming and Scripting |
|
|
|
1 |
2,122 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
2,555 |
Shell Programming and Scripting |
|
|
|
3 |
2,182 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
5,066 |
Shell Programming and Scripting |
|
|
|
2 |
2,573 |
Shell Programming and Scripting |
|
|
|
3 |
1,550 |
Shell Programming and Scripting |
|
|
|
5 |
3,808 |
Shell Programming and Scripting |
setpgrp(1) User Commands setpgrp(1)
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 during exec() of command.
Otherwise, the exit status will be that of command.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
exec(2), setpgrp(2), attributes(5)
SunOS 5.11 5 Jan 2000 setpgrp(1)