How do I execute a shell command?

Thierry Douez th.douez at gmail.com
Tue Mar 13 12:35:17 EDT 2012


2012/3/13 Bill Vlahos <bvlahos at mac.com>

> The docs say to execute a shell command you can do:
> shell("ls -l *.txt")
>
> However, this fails for me with:
> Message execution error:
> Error description: Handler: can't find handler
> Hint: shell("ls
>
> How do I run a shell command from inside LiveCode on a Mac?
>
>
Umm, could it be that you missed catching the shell() result?

i.e:    put shell(...) into x

HTH,

Thierry



More information about the use-livecode mailing list