Re: dylib loaded info on running apps
Re: dylib loaded info on running apps
- Subject: Re: dylib loaded info on running apps
- From: Fritz Anderson <email@hidden>
- Date: Thu, 1 Jun 2006 12:21:01 -0500
On 31 May 2006, at 4:48 PM, Alex Sheh wrote: Is there a way to get information on whether any running apps have loaded a particular dylib or framework (additionally getting the names of these apps would be even better)? I would like to detect this condition in my installer and notify the user to quit these applications before installing. Thanks!
You could scrape the output of the lsof command. However, as I understand it, changing the dylib out from under a running application shouldn't be fatal: A file that has been unlinked from the directory tree is not actually deleted until its last user closes it.
I could be way wrong about that, though.
-- F
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden