This indicates that your path is not the right one, and not the one you usually use. In the case of OSX, the path for GUI applications is set using various tools other than terminal programs (which, as you know, are based on your comments in your question above).
, ( ), exec Sublime, , , - , , bash.
PackageResourceViewer, exec.py Default "/bin/bash" to "/bin/zsh" ( , ) .
[EDIT]
, , . , Sublime exec.py , , .
, , , . , exec, , , , .