Shell Commands not working in Rev 1.1.1 According to Docs

Sivakatirswami katir at hindu.org
Sat Aug 10 15:44:01 EDT 2002


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?


Hinduism Today
Sivakatirswami
Production Manager
katir at hindu.org 
www.HinduismToday.com, www.HimalayanAcademy.com, 




More information about the use-livecode mailing list