mc cgi darwin
Pierre Sahores
psahores at easynet.fr
Fri Jan 25 16:03:01 EST 2002
andu wrote:
>
> 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
> > metacard at lists.runrev.com
> > http://lists.runrev.com/mailman/listinfo/metacard
>
> --
> __________________________
> Regards, Andu
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
Hi Andu,
Do you have set the right permissions (file and directory) as needed
before lauching the .mt cgi-script ?
Best Regards, Pierre Sahores
WEB & VPN applications & databases servers
Inspection académique de Seine-Saint-Denis
Qualifier & produire l'avantage compétitif
More information about the metacard
mailing list