• 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
do shell script without blocking?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

do shell script without blocking?


  • Subject: do shell script without blocking?
  • From: Stephen Jonke <email@hidden>
  • Date: Wed, 16 Feb 2005 08:08:00 -0500

Is there any way to use do shell script without it blocking until the script run completes? Putting an & at the end of the command doesn't help. Nor does using "ignoring application responses". Now, I can tell some other application to do shell script and ignore that application's responses and then the script will continue without waiting, but then the "told" application will be blocked until the script finishes. I.e. doing this:

  ignoring application responses
    tell app "Finder"
      do shell script "somecommand"
    end tell
  end ignoring
  display dialog "Hello!"

will result in the applescript continuing without waiting and immediately displays the dialog, but the Finder will be blocked until the do shell script completes. I want to avoid anything being blocked. Using the Terminal effectively does this, but ideally I don't want to have to use the terminal.

Steve

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: do shell script without blocking?
      • From: "Adam K. Wuellner" <email@hidden>
  • Prev by Date: "Authorization API" (Was: do shell script)
  • Next by Date: Re: Quark 6.5 Insert text into insertion point Broken?
  • Previous by thread: [ANN] Lookup Postcode script
  • Next by thread: Re: do shell script without blocking?
  • Index(es):
    • Date
    • Thread