protected function generateHookCommand($command)
{
$executable = $this->paths()->getBinCommand('grumphp', true);
$this->processBuilder->setArguments([$this->paths()->getRelativeProjectPath($executable), $command]);
if ($configFile = $this->useExoticConfigFile()) {
$this->processBuilder->add(sprintf('--config=%s', $configFile));
}
return $this->processBuilder->getProcess()->getCommandLine();
}