The setstate program

setstate -options command [arg ...]

setstate changes its process state according to options and certain environment variables, and runs the given command. WARNING: options must be a single argument. The leading "-" is not required. Options are as follows, and are obeyed in this order:

It is an error if an option is specified and any of the environment variables it uses is not set.