sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33702
[Question #269254]: Wait until the process is completed
New question #269254 on Sikuli:
https://answers.launchpad.net/sikuli/+question/269254
While True:
..... # some code
if typei == '1':
url = '/getsome' + rid
args = ('C:\file.exe', '--silent' + url)
popen = subprocess.Popen(args, stdout=subprocess.PIPE)
popen.communicate()
..... # some code
continue
How do I make a script waiting for 180 seconds after the start of the file?
If the process of the file.exe has not been completed - to return to the beginning of the cycle
If the process was complete - continue code execution
SIGALRM doesn't work in Windows :-(
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.