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

Re: do shell script


  • Subject: Re: do shell script
  • From: Steven Angier <email@hidden>
  • Date: Mon, 08 Jul 2002 12:15:13 +1000

On 8/7/02 8:04 AM, "Jon Pugh" <email@hidden> wrote:

> At 6:34 AM +1000 7/8/02, Peter Gort wrote:
>> Unfortunately, the problem remains. When AppleScript tries to execute either
>> the start or stop commands to fmserverd, AppleScript hangs until fmserverd is
>> no longer running.
>
> OK, we need to attack it at the AE level. The problem is that you can't
> ignore the response of an AE directed at yourself. You need to ignore one
> directed at some other process, like the Finder or something.
>
> tell application "Finder"
> ignoring application responses
> do shell script "-- your shell script here --"
> end ignoring
> end tell
>
> Now, the interesting part will be whether the Finder hangs until the server
> quits. ;)

That is exactly what happens. I think it is a bug in "do shell script" but I
am waiting to see if C. Nebel can come up with a workaround.

Steven Angier
Macscript.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: do shell script
      • From: Jon Pugh <email@hidden>
References: 
 >Re: do shell script (From: Jon Pugh <email@hidden>)

  • Prev by Date: Re: do shell script
  • Next by Date: Way to detect if sound file drag-n-dropped?
  • Previous by thread: Re: do shell script
  • Next by thread: Re: do shell script
  • Index(es):
    • Date
    • Thread