分配ProcessToJobobject:(87)参数不正确。节点JS JavaScript
大家好,这是我在堆栈溢出上问的第一个问题,所以如果您知道解决方案,请帮助我。
问题是我在node.js中使用exec运行基本LS命令,但是每当我运行它时,都会向我显示gissionProcessToJobobject:(87)参数不正确。我已经测试了其余的功能,但找不到任何解决方案。如果您知道如何解决此错误,请帮助我。
exec("ls -la", (error, stdout, stderr) => {
if (error) reject({ error });
if (stderr) reject({ stderr });
resolve(stdout);
});
Hi Guys this is my first question i am asking on stack overflow so please help me if you know the solution.
The problem is i am using exec in node.js to run basic ls command but whenever i run it, shows me AssignProcessToJobObject: (87) The parameter is incorrect. i have tested the rest of the functions which is calling it but could not find any solution. Please help me if you know how to solve this bug thanks.
exec("ls -la", (error, stdout, stderr) => {
if (error) reject({ error });
if (stderr) reject({ stderr });
resolve(stdout);
});
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论