There is a file

Bob Sneidar bobsneidar at
Fri May 17 20:44:20 EDT 2019

I've tried all of them. -n -O one other. Apparently looking at the google results, lsof is simply by nature DOG SLOW. I mean dying dog with 2 broken legs and a clowder of cats scratching it's eyes out slow. I've checked Applescript forums too. Apprently there is no damned good way to tell if a file is open on a Mac without using the API provided by the OS. Sometimes Apple takes my breath away. And not in a good way. 

Bob S

> On May 17, 2019, at 17:07 , Mark Wieder via use-livecode <use-livecode at> wrote:
> On 5/17/19 4:59 PM, Bob Sneidar via use-livecode wrote:
>> Okay I am using lsof in a shell command to see if the file open flag is set. It's taking SIXTEEN SECONDS! Any ideas on a better way to check to see if a file is open?
> What options are you using for the lsof command?
> -- 
> Mark Wieder
> ahsoftware at

More information about the Use-livecode mailing list