Hi, I'm trying to work out a way to identify the executable path of a command line tool in Objective C.
Hence, if the executable is /Applications/Utils/MyTool, then that method would return /Applications/Utils
I'm using the Foundation framework.
Any help would be great, thanks