On 9 Jan 2004 14:45:15 -0800,
go****@rocketmail.com (gk) wrote:
I need to call a tcl scripts ( procedures) from php function. And i
dont prefer to use exec(), as it needs to load the entire tcl
interpter everytime and source all those respective files. So if
theres any alternative solution please let me know !!
Any help is really appreciated...
So presumably you want to keep the interpreter running and pass it chunks of
code to execute? You could write a server in Tcl to accept bits of code. Or
maybe use something like FastCGI to avoid reinventing the wheel:
http://www.fastcgi.com/om_archive/index.html http://www.fastcgi.com/om_archive/applibs/tcl/
Only given this a brief glance so don't know if it's suitable.
Probably best asked in a Tcl group.
--
Andy Hassall <an**@andyh.co.uk> / Space: disk usage analysis tool
<http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space>