10000 Merge branch '5.4' into 6.3 · symfony/process@8941334 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8941334

Browse files
committed
Merge branch '5.4' into 6.3
* 5.4: [VarDumper] Fix missing colors initialization in CliDumper [Process] Fix executable finder when the command starts with a dash [Validator] added reviewed Lithuanian and Dutch translations
2 parents 0a4e8fa + 9a2172b commit 8941334

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PhpExecutableFinder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function find(bool $includeArgs = true): string|false
3333
{
3434
if ($php = getenv('PHP_BINARY')) {
3535
if (!is_executable($php)) {
36-
$command = '\\' === \DIRECTORY_SEPARATOR ? 'where' : 'command -v';
36+
$command = '\\' === \DIRECTORY_SEPARATOR ? 'where' : 'command -v --';
3737
if ($php = strtok(exec($command.' '.escapeshellarg($php)), \PHP_EOL)) {
3838
if (!is_executable($php)) {
3939
return false;

0 commit comments

Comments
 (0)
0