cli / cli/go-gh

browse() error when launcher has whitespace

Open
#174 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
438
Forks
94
Avg merge
5d 13h
Merged PRs (30d)
6

Description

In browser.go, browse() errors if the launcher contains whitespace. For example, if the launcher is
"c/Program Files/Google/Chrome/Application/chrome.exe". Will get the following error:

exec: "/c/Program": stat /c/Program: no such file or directory.

A workaround for this error is to move launcher to a path that does not contain whitespace. But perhaps browse() could be updated to not split the launcher on whitespace, so that it would not cause this error?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.