摘要: //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 阅读全文
posted @ 2013-11-05 17:16 高捍得 阅读(361) 评论(0) 推荐(0) 编辑