Put child into its own process group first
commit646ea6af14608dd336e9500d190769311564b924
authorOlly Betts <olly@survex.com>
Mon, 1 Apr 2024 02:56:00 +0000 (1 15:56 +1300)
committerOlly Betts <olly@survex.com>
Mon, 1 Apr 2024 22:23:49 +0000 (2 11:23 +1300)
tree4e2e9ed09d0bef33997c36e0fe99e1549dc946b8
parent8c86f6600e9af93c44f984a452ec968d20846a84
Put child into its own process group first

We expect killing the process group equal to the child's PID to kill the
child (plus any subprocesses), so it seems best to put it the child in
that process group as soon as possible.
xapian-core/tests/harness/backendmanager_remotetcp.cc