Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Handle browser paths with spaces correctly #218

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mghalix
Copy link

@mghalix mghalix commented Mar 27, 2025

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.

image

image

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant