joyent/libuv — pull request #1022 by orangemocha (2013-12-04 19:02:44+00:00)
Title: uv_spawn: translate CreateProcessW errors

We weren't translating errors for CreateProcessW.
I also reorganized the code a little to make it easier to read.
This is half a fix for node's unit test test-child-process-cwd.js on win.
The rest will go into node lib.