3
votes
4answers
3k views

Shell script Mac OS X App : get its path

In Mac OS X, from a shell script application's point of view, how can I get its bundle directory path for use in a shell script? When using the env command, it returns that the app's execution path ...