• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Lion crashed by AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lion crashed by AppleScript


  • Subject: Re: Lion crashed by AppleScript
  • From: Doug McNutt <email@hidden>
  • Date: Fri, 22 Jul 2011 14:47:23 -0600

An interesting thread.

UNIX buffers open files. It's very likely that a script accessing a plist file is really talking to a block of memory that is holding a cache of most or perhaps all of the file. That cache could even exist for a short time after its application has quit.

In principle the kernel is taking care of all of that but one could wonder if  lion is mucking with it.

Suppose, for instance, that Apple decided that it would be more efficient to hold, in the cache or a copy thereof, the decoded form of a plist which might be the name and value pairs instead of the XML perhaps compressed, file that is on the disk.

AppleScript might be able to talk to the disk image but I doubt if it can muck with an image that is in a decoded XML format. Perhaps that's what the defaults tool has to work with.

--

--> From the U S of A, the only socialist country that refuses to admit it. <--
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Lion crashed by AppleScript
      • From: Luther Fuller <email@hidden>
References: 
 >Re: Lion crashed by AppleScript (From: Doug Adams <email@hidden>)
 >Re: Lion crashed by AppleScript (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Lion crashed by AppleScript
  • Next by Date: Re: Lion crashed by AppleScript
  • Previous by thread: Re: Lion crashed by AppleScript
  • Next by thread: Re: Lion crashed by AppleScript
  • Index(es):
    • Date
    • Thread