Skip to content
Snippets Groups Projects
Commit ce61b222 authored by Adriano da Luz's avatar Adriano da Luz Committed by Adriano Luz
Browse files

proinfodataAgent.py: Added code to pause the execution after call the updatePackage


This pause in the script execution is necessary so that it won't continue
running after the updatePackage is called, which will kill the
proinfodataAgent to continue the update process.

Signed-off-by: default avatarAdriano da Luz <al08@c3sl.ufpr.br>
Acked-by: default avatarKlismann Smoger Mottin <ksm09@c3sl.ufpr.br>
parent a60c80d7
Branches
Tags
No related merge requests found
......@@ -187,6 +187,8 @@ def callUpdater():
updaterPath = "\"" + PROINFODATAPATH + "\\update\\updatePackage.exe" + "\""
args = "/S"
proc = subprocess.Popen(updaterPath + args)
# Wait to be killed
out = proc.communicate()
# ==========================================
# Main program
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment