add support for cluster forking - fixes #1611
This commit is contained in:
parent
9613c7fdb6
commit
fb94a87a4d
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user