What's the difference between LC 'shell' and OSX terminal?

Roger Eller roger.e.eller at sealedair.com
Sat Oct 29 11:20:49 EDT 2011


On Sat, Oct 29, 2011 at 10:40 AM, Graham Samuel wrote:

> Thanks to all who replied.
>
> in Terminal, and got:
>
>  /opt/local/bin/convert
>
> I don't exactly know what 'opt' is, but I can open /opt/local/bin/ in the
> Mac Finder, so it exists OK, and it contains a file 'convert' as expected.
> Anyway I tried doing this in the LS message box:
>
>   shell(/opt/local/bin/convert)
>
> and got:
>
> Message execution error:
> Error description: Handler: can't find handler
> Hint: shell(/opt/local/bin/convert)


You are so close.  :-)

"and got:"  is the clue.  You could not have "got" unless you first GET.
Also, quotes around the path should help.

Try this in the message box:

get shell("/opt/local/bin/convert")

˜Roger



More information about the Use-livecode mailing list