Skip to content

Commit

Permalink
Update RunServer.php
Browse files Browse the repository at this point in the history
Fixed an error issue caused by spaces in the php path
  • Loading branch information
Weixiaojun666 authored and liu21st committed Jul 29, 2024
1 parent 00de83c commit 8464326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/think/console/command/RunServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function execute(Input $input, Output $output)
}

$command = sprintf(
'%s -S %s:%d -t %s %s',
'"%s" -S %s:%d -t %s %s',
PHP_BINARY,
$host,
$port,
Expand Down

0 comments on commit 8464326

Please # to comment.