like diff hooks before the build hooks also use runProgram features that aren't present in posix_spawn. just like diff hooks we do not expect the build hook processes to be so fast that launch overhead matters somehow. Change-Id: If3c33dbd7d2ac20c95886e06d24feda312946c78