Background processes in post-receive hook
- From
- James Pickens <jepicken@gmail.com>
- Date
- Apr 2, 2011, 23:03 UTC
- Message-ID
- <AANLkTinrEt6DkwhknpDZ0iV9PR+7bBd3DAaPRJOgNFTG@mail.gmail.com>
Hi,
I have a post-receive hook (bash script) that launches several background processes and exits immediately. I do that so I don't have to wait for the background processes to finish every time I push to the repository, but Git seems to wait for them to finish anyways, even though the post-receive hook itself already exited. Is there any way to stop Git from waiting and let the push finish immediately? Sorry if I'm missing something obvious...
Thanks, James