disable server:run cmd without Process component

This commit is contained in:
Christian Flothmann 2015-12-06 23:20:00 +01:00
parent 604174c963
commit 99d174176a
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,10 @@ class ServerRunCommand extends ContainerAwareCommand
return false;
}
if (!class_exists('Symfony\Component\Process\Process')) {
return false;
}
return parent::isEnabled();
}