if the interruption occurs while sikuli script is working: sikuli prints log about interruption, but it will continues running (like the interrupted exception was caught within sikuli, and handled as printing a log without throwing something or stopping the script)
if the interruption occurs in a normal java task, it would throw interrupted exception next normal java Thread.sleep
Edit: I browsed the code and find RobotDesktop uses delay() function which (unlike Thread.sleep) does not allow the exception to be caught.
Is it intentional? I find I find it difficult to stop the script while avoiding to exit the whole java program.
In Windows Java environment:
Edit: I browsed the code and find RobotDesktop uses delay() function which (unlike Thread.sleep) does not allow the exception to be caught. Is it intentional? I find I find it difficult to stop the script while avoiding to exit the whole java program.