explicitly wait for a git process
authorJoey Hess <joeyh@joeyh.name>
Fri, 25 Sep 2020 14:58:30 +0000 (10:58 -0400)
committerJoey Hess <joeyh@joeyh.name>
Fri, 25 Sep 2020 15:03:12 +0000 (11:03 -0400)
commitca454c47f2410164819a0c08914989d530094df7
treeb68fbcadef8bebc9a91895efc647b46950c32fbd
parentb5b1aeacbac81788065be26faf2771df87d43a19
explicitly wait for a git process

Eliminate a zombie that was only cleaned up by the later zombie cleanup
code.

This is still not ideal, it would be cleaner if it used conduit or
something, and if the thread gets killed before waiting, it won't stop
the process.

Only remaining zombies are in CmdLine.Seek
Annex/Branch.hs
Command/Info.hs
Git/Command.hs
Logs/Location.hs