← Back to team overview

sikuli-driver team mailing list archive

[Question #225815]: How to exit a script inside a group of batch scripts without stop running the other scripts

 

New question #225815 on Sikuli:
https://answers.launchpad.net/sikuli/+question/225815

I have a group of batch scripts such as:
step1.sikuli, step2.sikuli, step3.sikuli and a main.sikuli which runs these scripts one by one.
How can I exit one of the script without stopping running the others?
For example in step1.sikuli I used:
...
try:
      dosomthing()
except:
      exit()

When step1.sikuli runs exit(), the main.sikuli also stops.
How can I keep main.sikuli to run step2.sikuli and step3.sikuli?




-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.