• 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
Ignore responses from do shell script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ignore responses from do shell script


  • Subject: Ignore responses from do shell script
  • From: Phil Stokes <email@hidden>
  • Date: Sat, 09 Jul 2016 16:01:14 +0700

Friends

I have a lengthy do shell script operation to perform at the end of my script, and I don’t want the spinning beach ball while it waits. There’s also the worry that the script might timeout while it waits

Two questions, in order of importance:

1. Is there a way to to execute a lengthy do shell script operation and NOT have the editor spin the beachball at the user while it runs?


2. Am I right in thinking both ignoring responses and with timeout are inapplicable to do shell script commands?

With regard to ignoring responses, ASLG says:

Results and error messages from AppleScript commands, scripting additions, and expressions are not affected by the application responses attribute.

And of ‘with timeout’:

A with timeout statement applies only to commands sent to application objects, not to commands sent to the application that is running the script. 



TIA

phil

 _______________________________________________
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:
    • Ignore responses from do shell script
      • From: Luther Fuller <email@hidden>
    • Re: Ignore responses from do shell script
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: Trouble Saving New PDFPenPro File
  • Next by Date: Re: Ignore responses from do shell script
  • Previous by thread: Re: Anything new in OSX 10.12 ?
  • Next by thread: Re: Ignore responses from do shell script
  • Index(es):
    • Date
    • Thread