MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Executing shell scripts from minivend pages





> Hi All,
> 
> Is there an easy way to execute shell scripts on a unix system from
> minivend pages?
> 
> I would like to use [mv_]tags in these commands as well.

  Yes... but you need to run perl from outside of safe.... two ways to
do this... add a global tag... or add a global sub. I threw a global
tag out here a few weeks ago called [realperl] that allowed you to 
eval perl code outside of safe. I access the mv tags directly from the
minivend data structures... you may prefer to use the function mvend
provides to read tag data... something like tag_data(tagname)... that is 
probably not right.


-- 

Anthony Ball                                                ant@maine.com
MaineStreet Communications, Inc        208 Portland Road, Gray, ME  04039
tel:1.207.657.5078         fax:1.207.657.5048       http://www.maine.com/


Search for: Match: Format: Sort by: