For those looking for an answer.
I was confused because it is possible to send an arbitrary amount of
fd's when spawning a process, including stream objects. So I changed to
using this pattern. It actually is much nicer for passing the log files
than doing it after the process is forked. Still I think it would
benefit the API if the same types of objects can be used in sending a
handle as can be passed on spawning.
-Tim
Tim Kuijsten schreef op 06-03-15 om 01:00: