Am 15.05.15 um 05:58 schrieb Skybuck Flying:
Thanks for the ideas, I haven't tried them yet.
I wonder if they will work in a multi-threaded fashion.
I doubt it.
The run_script runs in it's own thread.
It would be of enormous help if you would create a minimal script just
like the above for
Steven D'Aprano wrote in message
news:5553145b$0$9$c3e8...@news.astraweb.com...
On Wednesday 13 May 2015 17:27, Christian Gollwitzer wrote:
A clean way to exit your script could be to raise an exception. It
should propagate to the toplevel and halt your script. However it is not
On Wednesday 13 May 2015 17:27, Christian Gollwitzer wrote:
A clean way to exit your script could be to raise an exception. It
should propagate to the toplevel and halt your script. However it is not
possible to back and resume the execution.
while True:
try:
run_script() # May
Am 12.05.15 um 22:18 schrieb Skybuck Flying:
Thanks for suggestion, but I need a solution which can work in SikuliX
as well.
What the hell is that?
Especially inside an observer handler that would be ideal.
So far os.kill() is not supported in SikuliX as far as I can tell.
OK a quick look
Dave Angel wrote in message
news:mailman.354.1431345441.12865.python-l...@python.org...
On 05/11/2015 07:46 AM, Skybuck Flying wrote:
Hello,
Sometimes it can be handy to interrupt/reset/reposition a running
script.
For example something externally goes badly wrong.
os.kill()
then in
On 05/11/2015 07:46 AM, Skybuck Flying wrote:
Hello,
Sometimes it can be handy to interrupt/reset/reposition a running script.
For example something externally goes badly wrong.
os.kill()
then in your process, handle the exception, and do whatever you think is
worthwhile.
--
DaveA
--
Dave Angel da...@davea.name:
On 05/11/2015 07:46 AM, Skybuck Flying wrote:
Hello,
Sometimes it can be handy to interrupt/reset/reposition a running script.
For example something externally goes badly wrong.
os.kill()
then in your process, handle the exception, and do whatever you think
On Mon, 11 May 2015 09:57 pm, Dave Angel wrote:
On 05/11/2015 07:46 AM, Skybuck Flying wrote:
Hello,
Sometimes it can be handy to interrupt/reset/reposition a running
script.
For example something externally goes badly wrong.
os.kill()
then in your process, handle the exception, and
Hello,
Sometimes it can be handy to interrupt/reset/reposition a running script.
For example something externally goes badly wrong.
The script is unaware of this.
Current solution would require to have an Abort boolean everywhere.
The abort boolean could then be set to True to indicate all
On 05/11/2015 08:35 AM, Steven D'Aprano wrote:
On Mon, 11 May 2015 09:57 pm, Dave Angel wrote:
On 05/11/2015 07:46 AM, Skybuck Flying wrote:
Hello,
Sometimes it can be handy to interrupt/reset/reposition a running
script.
For example something externally goes badly wrong.
os.kill()
then
On 2015-05-11, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
On Mon, 11 May 2015 09:57 pm, Dave Angel wrote:
On 05/11/2015 07:46 AM, Skybuck Flying wrote:
Hello,
Sometimes it can be handy to interrupt/reset/reposition a running
script.
For example something externally goes
11 matches
Mail list logo