• 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: Running ruby (utilizing appscript) from do shell script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Running ruby (utilizing appscript) from do shell script


  • Subject: Re: Running ruby (utilizing appscript) from do shell script
  • From: Philip Aker <email@hidden>
  • Date: Wed, 04 Jun 2008 13:41:49 -0700

On 08-06-04, at 11:53, Mark J. Reed wrote:

Cool! So how do those OSA components work behind the scenes - does a new interpreter get started each time the component is called?

Yes -- except for TclOSA which should only create a new interp for a different host process.



Does ( run script "foo" in "sh" ) differ significantly from ( do shell script "foo" )?

If you open up the example droplet scripts (after the component for it is installed) you'll see that you just enter the script mostly as you would normally in the designated language. So generally there's no awkward quoting to deal with. Things are tightening up with Leopard and Unicode requirements though.


Perhaps some anomalies will show up in the areas where the language itself has UI capabilities but the non-UI portions seem to be working fine for Leopard so far. For instance, I think they are being used in this Prograph variant: <http://www.andescotia.com/products/marten/>.


Philip Aker echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Running ruby (utilizing appscript) from do shell script (From: James Nierodzik <email@hidden>)
 >Re: Running ruby (utilizing appscript) from do shell script (From: "Mark J. Reed" <email@hidden>)
 >Re: Running ruby (utilizing appscript) from do shell script (From: James Nierodzik <email@hidden>)
 >Re: Running ruby (utilizing appscript) from do shell script (From: Philip Aker <email@hidden>)
 >Re: Running ruby (utilizing appscript) from do shell script (From: "Mark J. Reed" <email@hidden>)

  • Prev by Date: Re: Quick Look & Slideshow
  • Next by Date: Re: Sending TEXT values in Apple Events with AppleScript 2.0
  • Previous by thread: Re: Running ruby (utilizing appscript) from do shell script
  • Next by thread: Re: Running ruby (utilizing appscript) from do shell script
  • Index(es):
    • Date
    • Thread