[luatex] IPC best practices?
Patrick Gundlach
patrick at gundla.ch
Mon Feb 13 15:19:12 CET 2017
> Am 12.02.2017 um 17:56 schrieb Hans Hagen <pragma at wxs.nl>:
>
> On 2/11/2017 3:04 PM, Patrick Gundlach wrote:
>> Hi all,
>>
>> I have a bit of a vague question about inter process communication. The setup is a program written in Go (but that should not matter very much) that starts one LuaTeX process as a child. Supported systems are Linux, Windows and Mac. Now I would like to talk between the parent process (Go) and the child process (LuaTeX) such as:
>>
>> parent: "Hello child, please do this"
>> child: "hi parent, I have done this, here is the result"
>>
>> and so on.
>>
>> What is the cleanest way to do this? I used to do that over TCP sockets (talking on a defined port on the local host), but this does not seem as the optimal solution. For example on Windows I get a "firewall warning" that the user has to click away.
>>
>> Any idea on that topic?
>
> use sockets (socket library is present)
Do you mean TCP sockets or unix sockets? If the second: is this well supported by windows? I can't really find a documentation on that.
Patrick
More information about the luatex
mailing list