摘要: child_process 模块提供了衍生子进程的能力 说明: .exec()、.execFile()、.fork() 底层都是通过 .spawn() 实现的.exec()、execFile() 还提供了回调,当子进程停止的时候执行 .spawnSync()是 .spawn()的同步版 ,将会阻塞 阅读全文
posted @ 2019-12-20 09:09 慕尘 阅读(2004) 评论(0) 推荐(0)