From where does Julia in VS Code source environmental variables setting the KNITRO license path ENV[“ARTELYS_LICENSE”]?
The issue:
I updated my KNITRO license file and its location and set the environment variable in .zsh_rc
and .bash_profile
to the new license location with
export ARTELYS_LICENSE=<path to license file>
.
Starting Julia in a Mac-Terminal and calling Knitro works without issues. When calling Julia from a zsh or bash terminal within VS Code everything works as expected.
However, when opening a REPL in VS Code, KNITRO cannot find the license file. Investigating the ARTELYS_LICENSE environmental variable shows that it still has the path to the old license file stored.
Do you have any idea why only the REPL in VS Code still has the old path stored?
Thanks a lot!