Re: Folder watching

2009-02-10 Thread Jerry Krinock
On 2009 Feb 10, at 07:30, Mark Woods wrote: I'm creating an application that watches certain folders for new files, and then performs various tasks on these files. I'm developing it as a Foundation Tool that will run in the background. Well, kqueue would work, but launchd can watch directo

Re: Folder watching

2009-02-10 Thread Mark Woods
Many thanks for your help. On Feb 10, 2009, at 6:22 PM, I. Savant wrote: On Tue, Feb 10, 2009 at 10:30 AM, Mark Woods wrote: So all that leaves is kqueue. Is that my only option? If FSEvents won't work (for compatibility reasons), then yes, KQueue is probably your best shot. Google "UKK

Re: Folder watching

2009-02-10 Thread I. Savant
On Tue, Feb 10, 2009 at 10:30 AM, Mark Woods wrote: > So all that leaves is kqueue. Is that my only option? If FSEvents won't work (for compatibility reasons), then yes, KQueue is probably your best shot. Google "UKKQueue" for a ready-made wrapper. -- I.S.

Folder watching

2009-02-10 Thread Mark Woods
I'm creating an application that watches certain folders for new files, and then performs various tasks on these files. I'm developing it as a Foundation Tool that will run in the background. I'm having difficulties deciding how best to implement the folder watching cod