joyent/libuv — comment on commit 31f94db78e9cf679969ab6d23765de5c101c2db4
File: src/win/process.c line 1075
By piscisaureus:

Same as the other comment - there could be other error conditions than EINVAL.