Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

stop current execution by interpreter

Status
Not open for further replies.

luxsln

Programmer
Aug 16, 2007
1
DE
Hi..

I want to implement something very close to the Keyboard Interrupt for my app.

what i am trying to do is this :
1) I have pushed a command to be executed to the interpreter. (say from a user given script file)
2) now, user finds that there is some infinite loop in that and so needs to stop
3) how do i interrupt and tell the interpreter to stop wat it is currently doing ?

note: all this is happening from a new UI.. which has wx.py.shell embedded.

thanks in advance,

lux
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top