mirror of
https://github.com/paulirish/git-open.git
synced 2026-09-10 07:26:15 -04:00
fix: Handle browser paths with spaces correctly
Resolves an issue where browser paths containing spaces in the BROWSER environment variable (e.g., '/mnt/c/Program Files/Mozilla Firefox/firefox.exe') were causing "No such file or directory" errors on WSL environments. The fix properly quotes the path when executing the browser command, ensuring compatibility with Windows applications accessed through WSL. Tested on Ubuntu 24.04 WSL with Windows Firefox installation.
This commit is contained in:
parent
a223125abc
commit
aab1d76a1d