• 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: Exiting from an Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: Exiting from an Applescript (From: Jean-Baptiste LE STANG <email@hidden>)
 >Re: Exiting from an Applescript (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Image upload via FTP
  • Next by Date: Re: [OT] institute for backup trauma
  • Previous by thread: Re: Exiting from an Applescript
  • Next by thread: Folder Action Script: launch on file creation?
  • Index(es):
    • Date
    • Thread