url-open
url-open copied to clipboard
Make WSL open URL by Windows `cmd` command and disable checking executable
Hello there,
It's me who opened this issue. I have altered the "app: default" behavior to handle opening the URL when using WSL to be open in a Windows browser by having the command cmd.exe /C start. Also, I have removed the condition to check if the command is executable to allow that cmd.exe /C start.
https://github.com/sontungexpt/url-open/blob/9f8f4a56ac709f26aa17d8ef921b272bf2262a30/lua/url-open/modules/handlers.lua#L109
Thank you.
I've reviewed your pull request but i think we should't remove the excuation check until there's new logic to prevent reopening when any command runs otherwise it may open multiple times