Qore Programming Language Reference Manual: Environment Variables

Qore Programming Language Reference Manual 0.8.11

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

All Classes Namespaces Functions Variables Groups Pages
Environment Variables

This section will outline the environment variables that are used by Qore.

Qore Environment Variables

Environment Variable | Description
`QORE_AUTO_MODULE_DIR` | This environment variable should contain a colon-separated list of directories which will be searched for Qore modules when Qore starts. If any modules are found in any of these directories, they are loaded automatically before any parsing starts.
`QORE_MODULE_DIR` | This environment variable should contain a colon-separated list of directories which will be searched when modules are loaded with the %requires parse directive
`QORE_INCLUDE_DIR` | This variable should be a colon-separated list of directories where the Qore binary should look for include files
`QORE_CHARSET` | If this variable is set, then the default character encoding name for the process will be the value of this variable. This variable takes precedence over the `LANG` variable, but can be overridden by the command line using option `–charset` (see Strings and Character Encoding for more information on this option)
`LANG` | If this variable is set and includes a character encoding specification, then, if the `QORE_CHARSET` variable is not set (and no character encoding was specified on the command line), this character encoding will be the default for the process.
`TZ` | On UNIX systems, this environment variables points to the zoneinfo file that contains the definition of the current time zone; for more information, see UNIX Time Zone Handling