[IronPython] Best way to stop script execution?
kristian.jaksch at gmail.com
Fri Mar 20 13:59:45 CET 2009
What about if we need access to the HTML DOM (It's a silverlight
application) from that thread? During execution of scripts there might be
printouts to the DOM. But how can we do that without illegal
2009/3/19 Kristian Jaksch <kristian.jaksch at gmail.com>
> Thanks for the reply.
> No, we haven't placed the script execution in their own thread. I guess the
> best way must be just to place the exec command in that thread. I'll check
> out Thread.Abort.
> 2009/3/19 Michael Foord <fuzzyman at voidspace.org.uk>
> Kristian wrote:
>>> We let users execute scripts in our app using the exec command. We
>>> want to provide a stop button to stop script execution but how is the
>>> best way to do that? Can a background worker be used for that?
>> Are the user scripts already running in a thread of their own? If they are
>> you can abort the thread (with all the consequences that brings) using
>> Thanks for help!
>>> Users mailing list
>>> Users at lists.ironpython.com
>> Users mailing list
>> Users at lists.ironpython.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users