Thanks Gustaf.
I knew about ns_proxy, but as it is documented as being a proxy to external Tcl
processes, I didn’t think to use it as a general process pool.
The part I was missing was
> proxy::exec
However, won’t that cause the external process to get reloaded every time I
call proxy::exec ?
If I’m running a fairly heavy Unix process, this doesn’t seem efficient.
Each run of the external unix process would cause a new run of exec, and thus a
new process loading:
> set return_string [ns_proxy eval $handle [list ::exec {*}$exec_flags
> {*}$call]]
_______________________________________________
naviserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/naviserver-devel