Aaah . Learn something new every day they say…
This seems to be a security feature of OSX. When a program is started normally, meaning by double clicking the application or calling it via Spotlight, the PATH
variable is cleared out by OSX.
However, if you start KNIME from a terminal, you can make it inherit the full environment like so:
- navigate into your KNIME application’s
Contents/MacOS
folder with the terminal, from your output above this seems to be/Applications/KNIME.app/Contents/MacOS
- run
./knime
- try any of the solutions provided here
I tried it by running the env
command using my Python script and via the terminal I did get my full PATH
variable.