sindresorhus/opn

Do you want to work on this issue?

You can request for a bounty in order to promote it!

Fails when connected to WSL with SSH #209

skoging posted onGitHub

I'm using VSCode with a remote SSH connection to WSL on different computer. In this context cmd.exe or powershell.exe is not available, even though it's running in WSL.

Create React App uses a helper the $BROWSER env variable, which VSCode sets to a helper script browser.sh that uses VScodes internal website open logic to open on the site in a browser on the client machine instead of the remote host.

I believe this would have to be handled as regular linux system, not WSL, for this to work. I tested this by setting isWsl to false, and everything worked as expected.

I'm not sure how to correctly identify this scenario.


Fund this Issue

$0.00
Funded
Only logged in users can fund an issue

Pull requests