how to run a .exe file in xul application?

2019-08-07 20:02发布

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

标签: xul
1条回答
甜甜的少女心
2楼-- · 2019-08-07 20:34

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.

查看更多
登录 后发表回答