如何在网站中使用Node.js来运行.EXE文件?

时间:2018-06-11 04:29:31

标签: node.js server exe

         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());                       

               }); 

我已尝试使用此代码在我的服务器上运行.exe文件,但它正在显示

错误:无法在我的网页上处理请求。

请帮帮我。

0 个答案:

没有答案
相关问题