• 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
Super slow 'do shell script' command OS X 10.11 vs 10.8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Super slow 'do shell script' command OS X 10.11 vs 10.8


  • Subject: Super slow 'do shell script' command OS X 10.11 vs 10.8
  • From: Jim Skibbie <email@hidden>
  • Date: Tue, 21 Feb 2017 22:22:24 +0000
  • Thread-topic: Super slow 'do shell script' command OS X 10.11 vs 10.8

Has anyone noticed that the "do shell script” command in OS X 10.11 is sometimes between 2-6x slower than it was in OS X 10.8?

If I run this script in Script Debugger on OS X 10.8, I get a result of 3-4 seconds. In Script Debugger on OS X 10.11, I get a result of 7-8 seconds. On some user accounts, it can take up to 20-30 seconds.

set theStart to current date

repeat 500 times

do shell script "echo 'hello world!'"

end repeat

set theTime to (current date) - theStart

display dialog theTime as string


I saw this post on another discussion page about this: https://discussions.apple.com/thread/7559256?start=0&tstart=0

Is there any known speed issue with "do shell script” that was introduced in OS X 10.11 that anyone is aware of?

Thanks.
Jim
 _______________________________________________
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: Super slow 'do shell script' command OS X 10.11 vs 10.8
      • From: Jim Skibbie <email@hidden>
    • Re: Super slow 'do shell script' command OS X 10.11 vs 10.8
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: scale
  • Next by Date: Re: Super slow 'do shell script' command OS X 10.11 vs 10.8
  • Previous by thread: Calling custom uri scheme, eg lightroom:// links from applescript, not from browser
  • Next by thread: Re: Super slow 'do shell script' command OS X 10.11 vs 10.8
  • Index(es):
    • Date
    • Thread