Runs one hook script. stack is the stack its processes inherit.
final Future<int> Function(Script hook, HookStack stack) runHook;