Hello,
I am trying to write a program to encompass a unix CLI application and I am having one problem. I am putting the Unix app inside the application bundle so nobody has to worry about where it is in the file system but this leaves no way for me to determine the launch path for the application:
[NSTask setLaunchPath:] call cannot be specified properly unless I know where the parent application is.
If there is any way to get the launch path of the current application or any other way to do this (while still keeping the Unix app in the OS X app bundle) please post it here.
Once I get that working I will put the application and source on my web site for anyone to play with. It works pretty well when running from Project Builder (the current directory is set to the build directory so I know where to start) so it could make a great universal wrapper once I get this issue fixed.
Please help,
Jeff.