Since libuv does not support child_process.spawn's uid option on Windows, how can you spawn a child process that runs as a different user?
You can not. It specifically says in the documentation that there is no option available for that on windows. http://nodejs.org/api/process.html#process_process_setuid_id
But if all you want to do is start as admin, because you need to bind to a privileged port, then there are other smarter ways of doing that, which will let you use a privileged port with a normal user.
Your best shot is to use "runas" command line tool for Windows. "runas /?" for details.