Richard MacLemale wrote: > > I wrote, then Andu wrote, > >> on startup > >> put "Hello" > >> put shell("ls -l") > >> end startup > >> > >> When I run it from the command line (./test.mt), I get this: > >> > >> Hello > >> > >> I can run other metacard scripts and everything else works perfectly. > >> > >> Sooo.... What am I doing wrong? > > > > Nothing. It just doesn't work. It works on Linux though so it must be a > > Darwin thing. > > OK - Scott Raney said you could do shell commands in darwin mc, and someone > else verified that you could, but the above script doesn't work, soooo... > What would be an example of a script that WOULD work?
I can do shell() in a stack (GUI) but not in a cgi or a stack called by a cgi with "start using". Why, I don't know maybe Scott can tell us what we do wrong. > > Please? > > :) > Richard MacLemale > Instructional Technology Specialist > James W. Mitchell High School > http://mitchellonline.pasco.k12.fl.us > > _______________________________________________ > metacard mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/metacard -- __________________________ Regards, Andu _______________________________________________ metacard mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/metacard