Re: do shell script
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.