]> Sergey Matveev's repositories - public-inbox.git/commit
lei: use spawn (vfork + execve) for lazy start
authorEric Wong <e@80x24.org>
Tue, 15 Dec 2020 09:03:34 +0000 (09:03 +0000)
committerEric Wong <e@80x24.org>
Sat, 19 Dec 2020 09:32:08 +0000 (09:32 +0000)
commit504774acd5236653cdeafb536be95fbfb147258f
tree8dd27060a8710f6aa6175c740bda5662f068adbb
parentd42172638f5479f76e73470ad48a679100c3e0d5
lei: use spawn (vfork + execve) for lazy start

This allows us to rely on FD_CLOEXEC being set on pipes
from prove(1), so forgetting `daemon-stop' won't cause
tests to hang.

Unfortunately, daemon tests will be slower with this.
lib/PublicInbox/LeiDaemon.pm
script/lei