摘要:
//Create child processvar thread = require('child_process');var msg = thread.fork(__dirname + '/child.js',['asdasd']);msg.on('message', function (m) { debugger; console.log('PARENT got message:', m);});msg.on('close', function () { //3 debugger;})msg.o 阅读全文