setpgid - Man Page

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

See Also

setpgid(2)

Reporting Bugs

For bug reports, use the issue tracker.

Availability

The setpgid command is part of the util-linux package which can be downloaded from Linux Kernel Archive.

Info

2025-06-23 util-linux 2.41.1