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

Browsers with spaces in the path name cannot be launched from `--browser` #3979

Closed
flotwig opened this issue Apr 16, 2019 · 2 comments

Comments

1 participant
@flotwig
Copy link
Member

commented Apr 16, 2019

The --browser=<path> option introduced in #1026 does not work properly if the path includes spaces. The spaces will not be properly escaped when doing the --version call, but will be escaped when launching the actual browser, making it impossible to both detect and launch a browser whose path contains spaces.

Workaround: create a symlink that does not contain spaces to the browser, and use that as the path.

@flotwig flotwig self-assigned this Apr 16, 2019

@flotwig flotwig changed the title Browsers with spaces in the path name cannot be launched from --browser Browsers with spaces in the path name cannot be launched from `--browser` Apr 16, 2019

@cypress-bot

This comment has been minimized.

Copy link

commented May 15, 2019

The code for this is done in cypress-io/cypress#4011, but has yet to be released.
We'll update this issue and reference the changelog when it's released.

@cypress-bot

This comment has been minimized.

Copy link

commented May 17, 2019

Released in 3.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.