darwin mc
Richard MacLemale
rmaclemale at earthlink.net
Thu Jan 24 17:06:01 EST 2002
> From: Scott Raney <raney at metacard.com>
> To: metacard at lists.runrev.com
> Subject: Re: darwin mc
> Reply-To: metacard at lists.runrev.com
>
> On Tue, 22 Jan 2002 Richard MacLemale <rmaclemale at earthlink.net> wrote:
>
>> I know that MetaCardCarbon does not honor shell (as in put shell("ls *")
>> into field 1)... Am I correct in assuming that the darwin mc engine is also
>> unable to do shell commands? I tried and it didn't work but wanted to
>> verify it here.
>
> Works fine here...
OK, can someone provide a really simple example of a .mt script that
includes a shell command? I created a text file (with UNIX line breaks)
called "test.mt" with the following script:
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?
:)
Richard MacLemale
Instructional Technology Specialist
James W. Mitchell High School
http://mitchellonline.pasco.k12.fl.us
More information about the metacard
mailing list