add support for cluster forking - fixes #1611

This commit is contained in:
Sebastian McKenzie 2015-05-28 10:36:29 -04:00
parent 9613c7fdb6
commit fb94a87a4d

View File

@ -107,6 +107,7 @@ if (program.eval || program.print) {
// add back on node and concat the sliced args
process.argv = ["node"].concat(args);
process.execArgv.unshift(__filename);
Module.runMain();
} else {