Skip to content

Commit

Permalink
Wrap PHP binary in quotes (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot authored and crynobone committed Jul 25, 2023
1 parent 6023f2c commit 14de8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DuskServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ protected function prepareCommand(): string
{
return sprintf(
(($this->isWindows() ? '' : 'exec ').'%s -S %s:%s %s'),
(new PhpExecutableFinder())->find(false),
'"'.(new PhpExecutableFinder())->find(false).'"',
$this->host,
$this->port,
'"'.__DIR__.'/server.php'.'"'
Expand Down

0 comments on commit 14de8cb

Please sign in to comment.