Re: Do shell script vs terminal discrepancy
Re: Do shell script vs terminal discrepancy
- Subject: Re: Do shell script vs terminal discrepancy
- From: Simon Topliss <email@hidden>
- Date: Sat, 05 Dec 2009 10:40:02 +0000
Hi Paul,
You just need to 'export' the PATH before using convert in the same shell session.
do shell script "export PATH=\"/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin/\" ; convert etc…
Simon
On 5 Dec 2009, at 02:43, Paul Skinner wrote:
> I'm running 10.5.8
>
> The error was just copied from the dialog that popped. Log stopped after the Do Shell Script line.
>
> Terminal here:
> -bash-3.2$ osascript -e 'do shell script "which convert" '
> /opt/local/bin/convert
>
> 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