http://qs321.pair.com?node_id=1071804


in reply to Executing functions from another process

Set up a dispatch table in the process that is to execute functions. Pass function calls and parameters as JSON from one process to the other. On the recipient side, decode the JSON, which will contain a dispatch table entry key, and the parameters to pass. ...no mucking in the symbol table that way, and no obscure, one-off protocols for data exchange.


Dave