Are there any global variables in Blender? I was searching for them in Blender docs, but didn't find anything.
For example, I want to override the default /tmp directory with another directory. But I want to do it by overriding the environment variable.
For example Nuke has
NUKE_TEMP_DIR variable, which I can simply override with a new value, and every time I start Nuke the temp directory will be as in the variable.
Houdini also has this kind of variables, Maya and so on.
What about Blender?