Re: How do I find out if a process is running if I have the process Name?
Re: How do I find out if a process is running if I have the process Name?
- Subject: Re: How do I find out if a process is running if I have the process Name?
- From: Scott Mitchell <email@hidden>
- Date: Thu, 18 May 2006 11:47:04 -0600
Thanks this will work...
Thanks,
Scott Mitchell
Senior Macintosh Software Engineer
Excelsior Software
http://www.excelsiorsoftware.com
On May 18, 2006, at 10:10 AM, Christopher Hickman wrote:
http://developer.apple.com/qa/qa2001/qa1123.html
I know that somebody wrote a Cocoa wrapper for this, but a quick
search
didn't find it. I'm sure there's more in the archives if you dig.
Oh, and if you only care about GUI processes, then it's easy: -
[NSWorkspace
launchedApplications] gives you a list of all launched apps.
-----Original Message-----
From: cocoa-dev-bounces+tophu=email@hidden
[mailto:cocoa-dev-bounces+tophu=email@hidden] On
Behalf Of Scott Mitchell
Sent: Thursday, May 18, 2006 11:52 AM
To: Cocoa-Dev List
Subject: How do I find out if a process is running if I have
the process Name?
Hi,
This is not necessarily a Cocoa question, but this is for a Cocoa
App. I have done a search for this, and have tried to figure this.
But what I need to do is, given a process name (Application or other
type), how can I find out if that process is running. Because if it
is running already I need to do something different. I know this
sounds weird, but if I was to explain the whole story behind
this, it
would take way to long. I thought this would be pretty easy
to figure
out, but I have not found anything yet.
Thanks,
Scott Mitchell
Senior Macintosh Software Engineer
Excelsior Software
http://www.excelsiorsoftware.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
_______________________________________________
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