options
Format
options = ["option1", [, ... ]]
Description
The options keyword allows you to set the following options:
- PATHNAME
-
When calling posix_spawn(), pass the full pathname in argv[0] instead of truncating the value to a filename
- CLEAR_ENV_LOGIN
-
Clears all environment variables except SHELL, TERM, PATH, DISPLAY, HOME, HOSTNAME, TMPDIR, TZ and adds the environment variables specified in env statement.
- CLEAR_ENV_ALL
-
Clears all environments including SHELL, TERM, PATH, DISPLAY, HOME, HOSTNAME, TMPDIR, TZ and adds the environment variables specified in env statement.
- CRITICAL
-
Create a critical process. If a critical process dies, the system crashes.
Example
options = ["PATHNAME", "CRITICAL"]
Multiplicity
Zero or one instance in a task block.
Constraints
-
If options is specified in a task, then the task must have one of the exec*() functions so that options is used at run time.
-
An option can only appear once.
