public function execute($command)
{
$process = new Process($command);
$process->run();
if (!$process->isSuccessful()) {
throw new \RuntimeException(sprintf('Failed to execute "%s"' . PHP_EOL . '%s', $command, $process->getErrorOutput()));
}
return $process->getExitCode();
}