UNPKG

shadowsocks-manager

Version:

A shadowsocks manager tool for multi user and traffic control.

10 lines (8 loc) 280 B
const path = require('path'); global.appRequire = (filePath) => { return require(path.resolve(__dirname, '../' + filePath)); }; global.appFork = filePath => { const child = require('child_process'); return child.fork(path.resolve(__dirname, '../' + filePath)); };