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.