Fix quotes on windows cmd shims
Resolves #41 by only using quotes around the node executable when a non-local node binary is used.
Hi, I haven't forgotten about this, just running out of time for the 6.12 release, and didn't make it to giving this one the attention it needs.
We'll probably get it (or something like it, if there's issues) in 6.12.1. Sorry for the delay, and thanks for your patience :)
+1
@isaacs any idea if we can get this in to the next release of npm?
First, this needs to be rebased onto the latest master branch.
But more importantly, won't this break if %prog% or %dp0 contain spaces or \ characters? Or am I reading it wrong?