Re: Exiting from an Applescript
Re: Exiting from an Applescript
- Subject: Re: Exiting from an Applescript
- From: "W. R. Wing" <email@hidden>
- Date: Fri, 29 Apr 2005 11:45:58 -0400
At 11:13 AM -0400 4/29/05, Mark J. Reed wrote:
Ah, we just had a thread on this. As far as AppleScript is
concerned, the shell script is NOT exiting, because the abw_rfl
process keeps running, and it stays attached to the input/output
environment set up for it by AppleScript. So AppleScript will wait
forever for it to exit.
You need to run the long-running process with its standard input,
output, and error redirected somewhere AppleScript doesn't care
about; /dev/null is a good choice if you don't need to keep about
any output that might be spit out by abw_rf. Replace that line of
the script with this and you should be golden:
/Users/wrw/CStuff/Abing/abw_rfl </dev/null >/dev/null 2>&1 &
Wonderful!!! That did it. Thanks a bunch.
Bill
--
_
/~\ The ASCII | William R. Wing, PhD. email@hidden 865-574-8839
\ / Ribbon Campaign | Network Architect, Oak Ridge National Laboratory
X Against HTML | Network Research Group, Computer Sci & Math Div.
/ \ Email! |_________
_______________________________________________
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