Skip to content

Commit cd228fb

Browse files
committed
disable server:run cmd without Process component
1 parent cac02f8 commit cd228fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ public function isEnabled()
3434
return false;
3535
}
3636

37+
if (!class_exists('Symfony\Component\Process\Process')) {
38+
return false;
39+
}
40+
3741
return parent::isEnabled();
3842
}
3943

0 commit comments

Comments
 (0)