sindresorhus / open

Open stuff like URLs, files, executables. Cross-platform.
MIT License
3.18k stars 218 forks source link

Option to use xdg-open in WSL #269

Open rhyst opened 2 years ago

rhyst commented 2 years ago

Hello, it it possible to use the standard linux behaviour in WSL? I have an x server running in windows so I can launch linux apps, and it would be useful if there was an option to do so (or to work it out from the app name).

Happy to make a PR if thats welcome (and this is not already possible).

Thanks!

romanlex commented 2 years ago

+1 xdg-open inside wsl doesnt work