The runtime environment variables are not persisted
In "Build Preferences" (Alt+,
) one can click on the "Environment" page and set environment variables to be used at build-time and at run-time. Only the former are actually saved to a file so that they may persist. The environment variables in the runtime section are lost when closing the project.