Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: How do I find out if a process is running if I have the process Name?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I find out if a process is running if I have the process Name?



On 5/18/06, John Stiles <email@hidden> wrote:
You can do anything you want, except find the darn thing on the hard
disk. Yes, some of us actually want the current path to the running
app, even if it might move again in the future. In OS 9 you could
move or rename apps just fine while they were running and still find
them. (You couldn't delete them, but I think that was by design—let's
face it, how many of us are writing apps which will keep on running
if the whole bundle suddenly got rm -rf'ed? This is just a basic way
of protecting the user.)

GetProcessBundleLocation() would seem to do exactly what you want. It's marked as available in 10.0 and up.

Mike
 _______________________________________________
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

References: 
 >How do I find out if a process is running if I have the process Name? (From: Scott Mitchell <email@hidden>)
 >Re: How do I find out if a process is running if I have the process Name? (From: Nick Zitzmann <email@hidden>)
 >Re: How do I find out if a process is running if I have the process Name? (From: John Stiles <email@hidden>)
 >Re: How do I find out if a process is running if I have the process Name? (From: Ondra Cada <email@hidden>)
 >Re: How do I find out if a process is running if I have the process Name? (From: John Stiles <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.