File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1313 "ext-posix" : " *" ,
1414 "hyperf/codec" : " ~3.2.0" ,
1515 "hyperf/command" : " ~3.2.0" ,
16+ "hyperf/contract" : " ~3.2.0" ,
17+ "hyperf/coordinator" : " ~3.2.0" ,
18+ "hyperf/coroutine" : " ~3.2.0" ,
1619 "hyperf/di" : " ~3.2.0" ,
20+ "hyperf/engine" : " ^2.0" ,
1721 "hyperf/framework" : " ~3.2.0" ,
22+ "hyperf/stringable" : " ~3.2.0" ,
1823 "hyperf/support" : " ~3.2.0"
1924 },
2025 "autoload" : {
Original file line number Diff line number Diff line change @@ -60,6 +60,11 @@ public function getDriver(): string
6060
6161 public function getBin (): string
6262 {
63+ if (str_contains ($ this ->bin , ' ' )) {
64+ // If the binary path contains spaces, we need to wrap it in quotes.
65+ return '" ' . $ this ->bin . '" ' ;
66+ }
67+
6368 return $ this ->bin ;
6469 }
6570
You can’t perform that action at this time.
0 commit comments