darwin mc

Simon Lord slord at videotron.ca
Sat Jan 26 06:57:01 EST 2002


Why would mc work on Darwin but not Aqua?  Does mc talk to the 
shell via XWndows?  Is that why?


On Friday, January 25, 2002, at 02:26 PM, Scott Raney wrote:

> On Thu, 24 Jan 2002 andu <undo at cloud9.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.
>
> No really, that exact script runs fine here.  Maybe a version thing?
> Are you running 10.1.2?  Maybe a permissions problem?  Are you running
> this from a terminal window in a directory you own?
>
> In any case, we should take this off list...
>   Regards,
>     Scott
>
>>> :)
>>> Richard MacLemale
>>> Instructional Technology Specialist
>>> James W. Mitchell High School
>>> http://mitchellonline.pasco.k12.fl.us
>>
>> --
>> __________________________
>>  Regards, Andu
>
> ********************************************************
> Scott Raney  raney at metacard.com  http://www.metacard.com
> MetaCard: You know, there's an easier way to do that...
>
>
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
>




More information about the metacard mailing list