SETSTATE(1)
π The setstate program π
Hiii bestie, welcome to the manual for setstate β aka The setstate program β and itβs giving tiny-but-fierce. π
It changes its process state according to options and certain environment variables, then runs the given command. Periodt. β¨
πΈ SYNOPSIS πΈ
setstate -options command [arg ...]
π¦ DESCRIPTION π¦
setstate changes its process state according to options and certain environment variables, and runs the given command. No cap. π«Ά
β οΈ WARNING:optionsmust be a single argument. Like, one argument, bestie β do not split it up. The leading-is not required. π
The options are listed below, and they are obeyed in this order β top to bottom, fr fr. β
π OPTIONS (in the exact order theyβre obeyed) π
rβchdirandchrootto$ROOT.lβ become a process group leader (new in version2001.06.08).Lβ become a non-process group leader (new in version2001.06.08).sβ become a session leader (new in version2001.06.08).fβ set the foreground process group of fd 0 to this processβs group (new in version2001.06.08).oβfchownfd 0 to$UID(new in version2001.06.08).gβsetgidto$GID.Gβsetgroupsto$GROUPS, a list of group IDs with each preceded by a space (including the first).uβsetuidto$UID.hβchdirto$HOME.
π¨ It is an error if an option is specified and any of the environment variables it uses is not set. So if the env var is missing, that option is a no-go. π
Thatβs the whole page, bestie β from the The setstate program manual. Thereβs no version or date stamp on this copy, so weβre not inventing one. π«Άπ
π¦ where this page comes from
- nixpkgs unstable: fdtools 2024.12.07
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms