Self-calling executables

7 points by oliverpool


Vaelatern

I recently was working on code to do this and man I miss fork().

Descendants must be able to connect back to the main process. In jjui, the main process listens on a Unix socket.

why not open an os.Pipe() pair for communication? Communicate on higher numbered file descriptors, which allow communication without naming a socket that others might use