auto-install-gui: no longer killing java here, let caller do that

This commit is contained in:
Jed Reynolds
2020-06-02 17:00:56 -07:00
parent a787cf8c14
commit 12e454178d

View File

@@ -114,12 +114,12 @@ if newestWebFile['timestamp'] > newestDirFile['timestamp']:
print(f"{e}\nInstallation failed. Please Try again.")
sys.exit(1)
#=========ATTEMPT TO RESTART GUI==========
try:
print("Killing current GUI process")
os.system("if pgrep java; then pgrep java | xargs kill -9 ;fi")
except Exception as e:
print(f"{e}\nProcess kill failed. Please try again")
sys.exit(1)
# try:
# print("Killing current GUI process")
# os.system("if pgrep java; then pgrep java | xargs kill -9 ;fi")
# except Exception as e:
# print(f"{e}\nProcess kill failed. Please try again")
# sys.exit(1)
else:
print("Current GUI version up to date")