Re: Why isn't my app showing up in launched applications
Re: Why isn't my app showing up in launched applications
- Subject: Re: Why isn't my app showing up in launched applications
- From: matt jaffa <email@hidden>
- Date: Fri, 24 Jun 2005 22:36:04 -0600
I've done sysctl before, but I need to get back processes that are
owned by the current console user and launchedApplications takes care
of that. Cause the exact same process will be running for any logged
in users and if I need to kill the app it will only be for the current
user. Can I get only the current user processes back from sysctl? I
am assuming you are refering to the k_proc_info structure or something
like that.
On 6/24/05, Nick Zitzmann <email@hidden> wrote:
>
> On Jun 24, 2005, at 9:50 PM, matt jaffa wrote:
>
> > So I think I have it partly figured out, my app has LSUIElement set to
> > "1" so it doesn't show up in the Doc. Well launchedApplications
> > doesn't like this and won't report it. But when I set it to
> > LSUIElement equal to "0" launchedApplications detects it. Any
> > workaround this?
>
> Don't use NSWorkspace; use sysctl() to get a list of tasks running on
> the computer. Check the list archives and man page for more
> information on sysctl().
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden