sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #47310
[Question #669829]: Wait for subprocess.call completion before executing next line.
New question #669829 on Sikuli:
https://answers.launchpad.net/sikuli/+question/669829
I'm running a suprocess.call command in the middle of my sikulix-script and realized that sikuli doesn't wait for subprocess completion, instead it interrupts it and continue executing the code bellow.
Adding a wait command does the trick but I am interested to know if there is a better way to handle this since it's not always easy to predict how much it it would take to finish subprocess, and adding excessive waiting time just to ensure suprocess pass successfully is not the option I am looking for.
Thanks in advance.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.