> From: Scott Raney <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: darwin mc
> Reply-To: [EMAIL PROTECTED]
> 
> On Tue, 22 Jan 2002 Richard MacLemale <[EMAIL PROTECTED]> 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

_______________________________________________
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard

Reply via email to