Re: Background processes in post-receive hook

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 3, 2011 at 4:33 AM, James Pickens <jepicken@xxxxxxxxx> wrote:
> 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...

interestingly, the double fork trick doesn't work either...

  ( ( long-running-command & ) )

What Junio said may be the only alternative...
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]