diff --git a/src/AutoDiscover.php b/src/AutoDiscover.php index 5358e27..fbefca2 100644 --- a/src/AutoDiscover.php +++ b/src/AutoDiscover.php @@ -40,7 +40,7 @@ public function guessChromeBinaryPath(): string case 'Windows': return self::getFromRegistry() ?? '%ProgramFiles(x86)%\Google\Chrome\Application\chrome.exe'; default: - return \rtrim(\explode("\n", (string) self::shellExec("command -v google-chrome chromium-browser chrome chromium"), 2)[0]) ?: 'chrome'; + return \rtrim(\explode("\n", (string) self::shellExec('command -v google-chrome chromium-browser chrome chromium'), 2)[0]) ?: 'chrome'; } }