[ic] Running a system command in a perl tag?

IC ic at tvcables.co.uk
Sun Jan 20 15:28:19 UTC 2013


> You can't run those types of things in a [perl] tag unless you have
> AllowGlobal set and use [perl global=1]. It's not the kind of thing we
> normally do in Interchange -- usually we put that kind of thing in a
> global UserTag and use the results in a more measured fashion.
> 
> IC is not really designed to be a conduit for unbridled
> system commands, though you could do it if you had AllowGlobal
> set.

Thanks for the quick reply Mike, having done a bit more playing I think the
problem is also that csf needs to be run as root, I guess my script is
running as the interchange user, is it possible to run a system command as
root?

Best regards
Andy.




More information about the interchange-users mailing list