Manpage logo

setpgid - run a program in a new process group

NAME  SYNOPSIS  DESCRIPTION  OPTIONS  AUTHORS  SEE ALSO  REPORTING BUGS  AVAILABILITY 

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

Display version and exit.

AUTHORS

Daan De Meyer <[email protected]>

SEE ALSO

setpgid(2)

REPORTING BUGS

For bug reports, use the issue tracker <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/>.


Updated 2026-06-01 - jenkler.se | uex.se