When I run Google Chrome 120.0.6099.225 from the command line in Windows 10 22H2, e.g.
PS C:\Program Files\Google\Chrome\Application> .\chrome.exe --help
or
PS C:\Program Files\Google\Chrome\Application> .\chrome.exe --version
the command line parameters are ignored and Chrome opens a window, instead of displaying help information or its version.
I read that command line parameters are ignored when Chrome has already opened a window (and I don't understand the rationale for that). But this happens without any open Chrome windows and without any chrome.exe
processes, according to the Task Manager. I even tried this right after a restart with the same result.
How can I get Chrome to properly process the command line arguments? And if possible even dot that if there already is an open Chrome window (because flutter doctor
expects a reply to chrome --version
).