darwin mc

andu undo at cloud9.net
Thu Jan 24 22:39:01 EST 2002


Richard MacLemale wrote:
> 
> > 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?

Nothing. It just doesn't work. It works on Linux though so it must be a
Darwin thing.

> 
> :)
> Richard MacLemale
> Instructional Technology Specialist
> James W. Mitchell High School
> http://mitchellonline.pasco.k12.fl.us
> 
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard

-- 
__________________________
 Regards, Andu



More information about the metacard mailing list