• 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: do script when scripting terminal - solved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: do script when scripting terminal - solved


  • Subject: Re: do script when scripting terminal - solved
  • From: Paul Scott <email@hidden>
  • Date: Wed, 8 Jul 2009 15:48:05 -0700

Uh, duh. It just dawned on me. Of course it runs in the login shell. Never mind, please.

Paul


On Jul 8, 2009, at 3:45 PM, Paul Scott wrote:

I've found, to my dismay, that the "do script" command of Terminal does not execute its script via "/bin/sh" the way "do shell script" of standard additions does. Instead, it appears to run the script in the user's login shell. This is problematic. I know there are ways around it, but they all have side effects. I'm hoping to get some feedback from an Apple guru as to whether it would be worthwhile filing a bug report; I've gotten so many that were duplicates, I'd hate to file another.

Paul

_______________________________________________ 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: 
 >do script when scripting terminal (From: Paul Scott <email@hidden>)

  • Prev by Date: do script when scripting terminal
  • Next by Date: Re: Vertical Bars disappear for lowercase variable names?
  • Previous by thread: do script when scripting terminal
  • Next by thread: Re: Reporting bugs (was do script when scripting terminal)
  • Index(es):
    • Date
    • Thread