Running plugins in a sandbox

后端 未结 3 1751
半阙折子戏
半阙折子戏 2021-02-15 16:49

I am designing a system in C/C++ which is extendible with all sort of plugins. There is a well defined C public API which mostly works with (const) char* and other

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-15 17:49

    Make a wrapper process for plugin and communicate with that wrapper through IPC. In case of plugin failure your main process would be untouched

提交回复
热议问题