title: Git hook not completing on Github Desktop for mac
body: <p>My hook works fine on git CLI.</p>
  
  <p>Adding <code>echo 'Running precommit hook' &gt; ~/Desktop/hello.txt</code> to the hook makes that file appear when I commit with the GUI, so pre-commit is running.</p>
  
  <p>However my next line in the hook is <code>gulp --production</code>.
  That never seems to run, and I can't establish why.</p>
  
  <p>Including the full path to gulp <code>/usr/local/bin/gulp --production</code> doesn't fix it.</p>
  
  <p>Replacing shebang <code>#!/bin/sh</code> with <code>#!/usr/bin/env sh</code> doesn't fix it.</p>
  
  <p>.git/hooks/pre-commit permissions are <code>-rwxr-xr-x</code>.</p>