Similar to https://github.com/go-gitea/gitea/pull/736 When hooks call Gitea executable, it immediately stop because it conflicts with minwinsvc. If it's not running as service, it works normally. Set env `SKIP_MINWINSVC=1` should work.