提问人:Alexandru Ianas 提问时间:12/5/2018 最后编辑:vinSAlexandru Ianas 更新时间:12/5/2018 访问量:2099
生成 e2big 节点
Spawn e2big node
问:
我有一个在 debian 上运行的节点服务器,我正在尝试使用 .exec()
getconf ARG_MAX = 2097152 bytes (2 mb)
myFile = 600 kb (contains 600kb worth of parameters)
当我从节点调用exec()命令时:
错误:在 ChildProcess.spawn 生成 E2BIG
(internal/child_process.js:372:11) 在 Object.execFile (child_process.js:543:9) 在 Object.execFile (child_process.js:221:15) 在 exec (child_process.js:152:18) 在 Promise (child_process.js:160:15) 在 new Promise ()
在 args (child_process.js:159:12)
它不应该起作用,因为它比我尝试传递的数据大吗?getconf ARG_MAX
答: 暂无答案
评论