PDA

View Full Version : How to stop execution in SPE (Stani's Python Editor)



kazza765
November 28th, 2009, 03:05 AM
Hi,

I'm just wondering if there is a way to break out of (eg.) an infinite loop in SPE, when executed from the built in shell.

In other words, typing

while True: pass

causes the program to freeze, and I can't find any way to stop it. I've tried Ctrl+C, plus pretty much every other key combination I can think of.

Thanks,
John

fiddler616
November 28th, 2009, 05:52 PM
A quick Google suggested Ctrl-D--does that work?

falconindy
November 28th, 2009, 07:27 PM
switch to another tty and pkill it?