Is there a way in Python to force reload the cached environment variables after RV has loaded?
Specifically I’m trying to set the RV_OS_PATH_*
environment variables from inside a Python package.
Setting them with either python’s os.environ
or mu’s system.setenv
both result in the variables displaying in the Window -> Show Environment
list successfully, however they don’t actually take effect because RV caches all the environment variables at startup, I think here
Does anyone know a way to force RV to reload the environment variables, or to modify the cached environment property map after it has been loaded?
Thanks!