Re: cross-process file open notifications
Re: cross-process file open notifications
- Subject: Re: cross-process file open notifications
- From: Dave Carrigan <email@hidden>
- Date: Wed, 3 Feb 2010 13:57:40 -0800
On Feb 3, 2010, at 1:54 PM, Dave Carrigan wrote:
>
> On Feb 3, 2010, at 1:50 PM, Alexander Cohen wrote:
>
>> Is there any way in cocoa to get some sort of notifications when any process opens or closes any file? The reason i need this is because i need to watch the system and do a certain task every time a particular dylib is loaded by an application.
>
>
> The FSEvents API is most likely what you're looking for.
Come to think of it, FSEvents might not tell you about files being opened, so it might not be exactly what you want, after all.
--
Dave Carrigan
email@hidden
Seattle, WA, USA
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden