We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 418b3ae commit 538624cCopy full SHA for 538624c
Worker.php
@@ -806,11 +806,11 @@ protected static function displayUI()
806
foreach ($argv as $index => $value) {
807
if ($value == '-d') {
808
unset($argv[$index]);
809
- } elseif ($value == 'start') {
+ } elseif ($value == 'start' || $value == 'restart') {
810
$argv[$index] = 'stop';
811
}
812
813
- static::safeEcho("Input \"php ".implode($argv, ' ')."\" to stop. Start success.\n\n");
+ static::safeEcho("Input \"php ".implode(' ', $argv)."\" to stop. Start success.\n\n");
814
} else {
815
static::safeEcho("Press Ctrl+C to stop. Start success.\n");
816
0 commit comments