Results 12 comments of Laszlo Frank

Yo can start script execution on a separate thread, then of course it is.

I am not sure whether you want to cancel the running script from within the script or from the hosting environment. On the other hand, why do you want to...

Yeah, I know it's a nasty way but I do not have any better idea, and for simple scripts it works. I believe, the ultimate solution could be some method...

I'd also appreciate seeing an example of how to stop the script gracefully from the traceback handler. I write a .Net app in c# for hosting Python scripts and do...

Yes, they potentially can run concurrently. But most of the time no issues, only some bad timing can happen.

In addition to above, I also observed a NullReferenceException occuring the same location: Stack trace: at System.Collections.Generic.HashSet`1.AddIfNotPresent(T value) at IronPython.Runtime.PythonContext.TryLoadAssemblyFromFileWithPath(String path, Assembly& res) at IronPython.Runtime.PythonContext.LoadAssemblyFromFile(String file) at IronPython.Runtime.ClrModule.AddReferenceToFileAndPath(CodeContext context, String...

Thanks, good news. Actually, the build prerequisite list is a bit threatening, I have absolutely no idea about many tools mentioned there and it could take me another week to...

Thank you Steve for these suggestions. I am not sure that using a single python engine for multiple threads is a safe approach, but will definitely give a try to...

Thanks Steve, that sounds good to me. I will try this approach, too.