isaacs/npm-www — pull request #87 by domenic (2012-08-04 22:02:10+00:00)
Title: dev: make Windows spawn work, for realz

This is all kind of black magic to me. But /s must come before /c, otherwise nothing works. And even if you do that, it falls down on cmd's that have spaces in their name (even when wrapped in quotes), unless you remove the /s. Also, why join the args, that's just unnecessary and I think breaks the verbatim argument handling thing.

So this works at least. Not entirely sure why, but it does.

---

Now, this isn't enough to get npm-www up and running on Windows, but right now it's CouchDB's fault. couchdb.bat seems incapable of passing arguments (like `-a ./dev/couch/couch.ini`) through. Investigating :-/.