logo       

Kill/stop the Jython interpreter: msg#00055

lang.jython.user

Subject: Kill/stop the Jython interpreter


Hello everybody,

I have embedded the Jython interpreter in an app of mine, and allow the
user to type Jython scripts directly into it.

The problem is that sometimes the user will do something like the
following:

=============================
i=0

while i < 10:
print "Hello"
yoyo = i+1
============================

The problem is that the above is an infinite loop, and never returns.
The user must kill the entire app in order to stop the script from
executing.

Does anyone know what command can stop/kill just the Jython interpreter?

-Chris


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise