如何在网站中使用Node.js运行.EXE文件?
我已尝试使用此代码在服务器上运行.exe文件,但它正在显示 错误:无法处理我的网页上的请求如何在网站中使用Node.js运行.EXE文件?,node.js,server,exe,Node.js,Server,Exe,我已尝试使用此代码在服务器上运行.exe文件,但它正在显示 错误:无法处理我的网页上的请求 请帮助我。var exec=require('child\u process')。execFile希望你有这个。。你能加上你看到的错误吗?@SunilBN我已经加上了。 export const helloWorld = functions.https.onRequest((request,response) => { console.log("fun() st
请帮助我。
var exec=require('child\u process')。execFile代码>希望你有这个。。你能加上你看到的错误吗?@SunilBN我已经加上了。
export const helloWorld = functions.https.onRequest((request,response) => {
console.log("fun() start");
exec('Notepad.exe', function(err, data) {
console.log(err)
console.log(data.toString());
});