How do I execute a shell command?

Bill Vlahos bvlahos at mac.com
Tue Mar 13 13:12:30 EDT 2012


Theiry and Warren,

Thank you. That is what I was missing.

Bill Vlahos
_________________
InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure.

On Mar 13, 2012, at 9:35 AM, Thierry Douez wrote:

> 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
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list