PATH variable for do shell script
PATH variable for do shell script
- Subject: PATH variable for do shell script
- From: "Alan Harper (lists)" <email@hidden>
- Date: Mon, 02 Nov 2015 13:04:53 -0800
Hi
When I upgraded to El Capitan some scripts stopped working because the PATH variable in AppleScripts doesn't include all the paths that I have set up for my login. For the moment, I'll just hard-wire in the path of the command in my script, but is there something I should know about this change? Is this a security issue? Are there are specific directories I should be using in order to access command line programs from AppleScript?
do shell script "echo $PATH"
"/usr/bin:/bin:/usr/sbin:/sbin"
Thanks for any pointers
_______________________________________________
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