Getting the path to an application with a launchDaemon
Getting the path to an application with a launchDaemon
- Subject: Getting the path to an application with a launchDaemon
- From: Zephyroth Akash <email@hidden>
- Date: Fri, 27 Nov 2009 09:08:08 +0100
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 used
as a user.
If I launch my application as a user and tells the daemon to list the
launched applications then my application is listed.
I don't understand ...
Can someone point me in the right direction ?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden