Shell Commands not working in Rev 1.1.1 According to Docs

David Vaughan drvaughan55 at mac.com
Sat Aug 10 16:17:01 EDT 2002


On Sunday, August 11, 2002, at 06:41 , Sivakatirswami wrote:

> IN theory the following should work in Rev... As this is straight out 
> of the
> current documentation
>
> on mouseUp
>   put empty into fld "Terminal Output"
>   set shellCommand to "/bin/tcsh"
>   put shell("ls -l *.txt") into fld "Terminal Output"
>   put the result after fld "Terminal Output"
> end mouseUp
>
> The above returns:
>
> "ls -l *.txt" in Rev
>
> But,
>
> In MC 2.4.3  it returns the expected:
>
> -rw-r--r--  1 katir  staff  1425 Aug  3 16:06 test.txt
> 0
>
> Since the doc in rev indicate this should be working....why doesn't it?

Since you are asking this question, I assume you are using a Mac. Rev 
1.1.1 docs mark that the shell function does not work on OS 9 and OS X. 
It works in OS X using the Rev 1.5 release (Kevin, do you mind our 
leaking these things?) - it was one of the first things I tested. Hang 
in there.

regards
David
>
>
> Hinduism Today
> Sivakatirswami
> Production Manager
> katir at hindu.org
> www.HinduismToday.com, www.HimalayanAcademy.com,
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list