Wait until the process is completed
Asked by
fordox
While True:
..... # some code
if typei == '1':
url = '/getsome' + rid
args = ('C:\file.exe', '--silent' + url)
popen = subprocess.
..... # 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 :-(
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
This question was reopened
- by fordox
To post a message you must log in.