This is mostly working, but not completely ideal for two reasons. 1. Rather than emitting an error on the ChildProcess object when the setgid/setuid fails, it is simply printing the error to stderr and exiting. The same happens with the cwd, so that's not completely terrible. 2. I don't have a good test for this. It fails with an EPERM if you try to change the uid or gid as a non-root user.
Evented I/O for V8 javascript. To build: ./configure make make install To run the tests: make test To build the documentation: make doc To read the documentation: man doc/node.1 See http://nodejs.org/ for more information. For help and discussion subscribe to the mailing list by visiting http://groups.google.com/group/nodejs or by sending an email to nodejs+subscribe@googlegroups.com.
Languages
JavaScript
61.4%
C++
23.3%
Python
10.7%
C
2.8%
HTML
0.7%
Other
1%