-
-
Notifications
You must be signed in to change notification settings - Fork 248
URLs with query string not working on WSL #170
Copy link
Copy link
Closed
Description
I'm trying the following snippet in WSL:
const open = require('open')
open('http://www.google.com.br/?a=1&b=2', { url: true, wait: false })But the URL opened is https://www.google.com.br/?a=1. The URL is trimmed after the first &.
I'm suspecting the shell is interpreting the & as a "Run in background" directive
open: 7.0.2
OS: Ubuntu 18.04 WSL on Windows 10
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels