Re: do shell script
Re: do shell script
- Subject: Re: do shell script
- From: Jon Pugh <email@hidden>
- Date: Sun, 7 Jul 2002 15:04:11 -0700
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. ;)
Jon
_______________________________________________
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.