Scroll to navigation

SETPGID(1) User Commands SETPGID(1)

NAME

setpgid - run a program in a new process group

SYNOPSIS

setpgid [options] program [arguments]

DESCRIPTION

setpgid runs a program in a new process group.

OPTIONS

-f, --foreground

Make the new process group the foreground process group of the controlling terminal if there is a controlling terminal.

-h, --help

Display help text and exit.

-V, --version

Print version and exit.

AUTHORS

Daan De Meyer <daan.j.demeyer@gmail.com>

SEE ALSO

setpgid(2)

REPORTING BUGS

For bug reports, use the issue tracker at <https://github.com/util-linux/util-linux/issues>.

AVAILABILITY

The setpgid command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.

2024-05-28 util-linux 2.40.2