Re: check if process is running
Re: check if process is running
- Subject: Re: check if process is running
- From: Bill Cheeseman <email@hidden>
- Date: Wed, 21 May 2003 17:52:04 -0400
on 03-05-21 10:42 AM, Martin Weil at email@hidden wrote:
>
I'd like to check if one particular process is running. I looked at
>
NSWorkspace' launchedApplications, but as said only Applications
>
no deamons and other GUI less processes are shown.
You have to make some Carbon calls to get a list of all running processes.
As you've noticed, -launchedApplications only returns a list of applications
with normal UI.
I'm too busy to pull out my code for this right now, but if you'll do me the
favor of sending me a private message I'll get it to you tomorrow or the
next day. The code is quite short and simple, once you understand how to do
it.
Or you can go to the mamasam archive and find it there, as I did.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.