opening a browser fails with "exit status 3"
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 10.1k
- Forks
- 413
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 6
Description
We received a report that when hitting space at the tilt prompt, they get an error:
Opening browser: http://localhost:10350/
Error: exit status 3
The underlying browser code is just doing xdg-open http://localhost:10350/, exit code 3 means xdg-open wasn't able to find a browser
https://linux.die.net/man/1/xdg-open
but the person reports that xdg-open outside of tilt works ok....hmmmm...
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure when pressing space at the Tilt prompt and inspect the browser-opening path that runs xdg-open http://localhost:10350/. Compare its environment with running xdg-open outside Tilt; done means identifying why the contexts differ and making browser opening work in the reported case, with a regression check if the relevant test location is found.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100