1setpgrp(1)                       User Commands                      setpgrp(1)
2
3
4

NAME

6       setpgrp - set process group ID
7

SYNOPSIS

9       setpgrp command [arg]...
10
11

DESCRIPTION

13       If  the  current  process  is not already a session leader, the setpgrp
14       utility sets the process group ID and session ID to the current process
15       ID and does an exec() of command and its argument(s), if any.
16

OPERANDS

18       The following operands are supported:
19
20       command    The name of a command to be invoked.
21
22
23       arg        An option or argument to command.
24
25

EXIT STATUS

27       The following exit values are returned:
28
29       1    Error executing the setpgrp utility or during exec() of command.
30
31
32
33       Otherwise, the exit status will be that of command.
34

ATTRIBUTES

36       See attributes(5) for descriptions of the following attributes:
37
38
39
40
41       ┌─────────────────────────────┬─────────────────────────────┐
42       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
43       ├─────────────────────────────┼─────────────────────────────┤
44       │Availability                 │SUNWcsu                      │
45       └─────────────────────────────┴─────────────────────────────┘
46

SEE ALSO

48       exec(2), setpgrp(2), attributes(5)
49
50
51
52SunOS 5.11                        5 Jan 2000                        setpgrp(1)
Impressum