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@lists.runrev.com> 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 > ahsoftw...@gmail.com _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode