摘要: 参考两篇文章: https://www.cnblogs.com/LBSer/p/5183300.html http://hedengcheng.com/?p=771#_Toc374698322 http://blog.csdn.net/cweeyii/article/details/70991230 阅读全文
posted @ 2017-12-27 14:49 jay- 阅读(106) 评论(0) 推荐(0)
摘要: 1.所有的开启的子进程都是 require(child_process).spawn的基础上实现的 child_process 产生的进程,都是独立于主进程的,有自己的内存和v8实例 2.在 Node.js 的父进程与衍生的子进程之间会建立 stdin、stdout 和 stderr 的管道。 数据 阅读全文
posted @ 2017-12-27 11:10 jay- 阅读(271) 评论(0) 推荐(0)