How to cancel a beanshell?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to cancel a beanshell?

Hubert
Hi,

Wie use Interpreter.eval() to run customer developped bsh scripts in our target.
Customer developped eventually means buggy, eventuelly means infinite loop .
I am looking for a method to prevent this, maybe a thread that shuts the Interpreter down after 10 seconds.

Can a Interpreter be canceled somehow from outside?

Thank you

Hubert
Loading...