how to run a .exe file in xul application?

北战南征 提交于 2019-12-24 10:38:08

问题


i want make a app with xul but some functions and logic in a stable exe file. run the exe with xulapp that to do something and get the result given to the xul application, how should i do ,thanks


回答1:


You can invoke another application using nsIProcess, but you can't easily obtain a result, except for the exit value. Attempts are being made to get a proper IPC component that will allow you to write to the process stdin and read from its stdout and stderr but this is not yet available in releases of XULRunner.



来源:https://stackoverflow.com/questions/5469490/how-to-run-a-exe-file-in-xul-application

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!