Re: Launching a Cocoa app from KEXT?
Re: Launching a Cocoa app from KEXT?
- Subject: Re: Launching a Cocoa app from KEXT?
- From: "Justin C. Walker" <email@hidden>
- Date: Mon, 18 Jul 2005 12:04:46 -0700
On Jul 18, 2005, at 11:34 , Allan Hoeltje wrote:
Is it possible for a KEXT to launch a Cocoa application? What I
want is for
my KEXT to determine which user is logged-in and then open the app
in that
user's space as if the user double clicked the app.
That's mixing metaphors in a really bad way. You (the Editorial You)
don't want an extension to have any clue about identities of users,
or even about users. The only reason your extension should deal with
UIDs is for security issues.
Kernel operations should be performed to facilitate some user-level
activity, and then only if there is no other way. Think of the
kernel as a programming interface to the hardware, not as an
environment in which to build fancy applications.
One thing to consider is how you would tell that the user has logged
in in such a way that he can stand having a Cocoa app launched. He
might be remote, or he might be running X windows only.
There's got to be a better way to get what you want.
Regards,
Justin
--
Justin C. Walker, Curmudgeon at Large
Institute for General Semantics
-----------
My wife 'n kids 'n dog are gone,
I can't get Jesus on the phone,
But Ol' Milwaukee's Best is my best friend.
-----------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden