Re: Getting the path to an application with a launchDaemon

2009-11-27 Thread Jens Alfke
On Nov 27, 2009, at 12:08 AM, Zephyroth Akash wrote: > I'm actually creating a daemon which then runs in root context and I can't > get the path to an application. > The command: [[NSWorkspace sharedWorkspace] > absolutePathForAppBundleIdentifier:@"com.myCompany.myApp"]; returns NULL but > ret

Getting the path to an application with a launchDaemon

2009-11-27 Thread Zephyroth Akash
Hi, I'm actually creating a daemon which then runs in root context and I can't get the path to an application. The command: [[NSWorkspace sharedWorkspace] absolutePathForAppBundleIdentifier:@"com.myCompany.myApp"]; returns NULL but returns the path to my application bundle correctly if us