OpenSUSE Tumbleweed does not set path. #293
Labels
Bug
This is either an issue that describes a bug or a PR that resolves a bug
Status: Patched
This is fixed and is part of a released version.
Target: 4.x
This is targeted to the 4.x release.
Windows Version
Windows 11
Windows Build Number
22621.2506
WSL Version
WSL 2
Distro Version
OpenSUSE Tumbleweed
WSL Utilities Version
4.1.1-1
Describe the bug
An error is produced when trying to run rustup doc.
Steps to Reproduce
install rust, install wslu, run rustup doc. The following error happens:
error: couldn't open browser: command 'wslview' did not execute successfully; exit status: 1
command stderr:
Start : This command cannot be run due to the error: The system cannot find the file specified.
At line:1 char:128
Expected behavior
Expected the system uses wslview after installing wslu.
Additional context
I ran export BROWSER="/usr/bin/wslview" then it worked.
Added to the end of my ~/.bashrc file resolved the issue. I suggest appending this line to the file upon install.
Code of Conduct
The text was updated successfully, but these errors were encountered: