If I start up TeXstudio by launching it normally as an app in OS X Yosemite, whenever I build and view a document, it complains
kpsewhich: command not found.
which kpsewhich in a terminal shows it exists at
echo $PATH includes
/Library/TeX/texbin. So if I start up TeXstudio from the terminal the problem disappears.
I wonder if there is PATH configuration problem somewhere for TeXstudio such that it does not load
/Library/TeX/texbin properly. If so, how do I fix it?
Note: my problem initially led me to this question, but I have installed the latest
MacTex and updated all my packages using TexLive, so it should be safe to say the cause of my problem is different.