How to host an IronPython engine in a separate AppDomain?

后端 未结 1 1508
醉梦人生
醉梦人生 2021-01-01 01:32

I have tried the obvious:

var appDomain = AppDomain.CreateDomain(\"New Domain\");
var engine = IronPython.Hosting.Python.CreateEngine(appDomain); // boom!


        
相关标签:
1条回答
  • 2021-01-01 02:03

    Just create your own bootstrapping class that will run in a new AppDomain and will do the initialization of IronPyton there, will it solve the prob?

    0 讨论(0)
提交回复
热议问题