pwnall/node-open

Opens multiple windows

refset opened this issue · 5 comments

Not sure what's really happening, but when attempting open("http://localhost:8000/") it opens a new chromium-browser session with 3 tabs whose urls are:
"http://http/"
"file:///localhost"
"http://0.0.31.64/"

Any ideas?

@jez0990, what OS are you using?

I am using Linux 3.9.8-1-ARCH x86_64 GNU/Linux and have the same problem when open with google chrome

@pwnall Linux lubuntu 3.8.0-19-generic i686 GNU/Linux (Ubuntu 13.04)

Linux bang 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linuxhere, and it's the same. If I use my xdg-open it goes well, if I use the one inside the vendor folder then it opens multiple tabs as mentioned before.

Further reading, it appears to be an issue with some xdg-open versions... updating the xdg-open script should be enough.

For anyone still having this problem. You should be able to resolve it by setting a default browser to handle http and https. Hope this helps: xdg-open set the default browser