run nodejs in non-root user

This commit is contained in:
Max Lv
2012-12-16 15:17:53 +08:00
parent d1c75d9936
commit a53c9ff5ce
9 changed files with 52 additions and 483 deletions
+8
View File
@@ -0,0 +1,8 @@
package com.github.shadowsocks;
public class Node {
static {
System.loadLibrary("node");
}
public static native void exec(String cmd);
}