• 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: PATH variable for do shell script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATH variable for do shell script


  • Subject: Re: PATH variable for do shell script
  • From: Christopher Stone <email@hidden>
  • Date: Tue, 03 Nov 2015 03:54:51 -0600

On Nov 02, 2015, at 18:43, Stan Cleveland <email@hidden> wrote:
The authoritative reference to do shell script is found here:
______________________________________________________________________

I believe it fails to tell you how to load up your bash profile.

I presume you can do the same for AppleScript's default shell sh.

do shell script "#! /usr/bin/env bash
source ~/.profile
echo $PATH;

# User Function from my .profile.
mem
"

--
Take Care,
Chris

 _______________________________________________
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: 
 >PATH variable for do shell script (From: "Alan Harper (lists)" <email@hidden>)

  • Prev by Date: Re: PATH variable for do shell script
  • Next by Date: Word - How to Access Custom Document Properties
  • Previous by thread: Re: PATH variable for do shell script
  • Next by thread: Re: PATH variable for do shell script
  • Index(es):
    • Date
    • Thread