src/eric7/UI/upgrader.py

branch
eric7
changeset 9324
7f7f3e47b238
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
equal deleted inserted replaced
9323:6ae7193558ac 9324:7f7f3e47b238
10 This process must be performed while eric is closed. The script will upgrade 10 This process must be performed while eric is closed. The script will upgrade
11 the requested packages and will restart eric. 11 the requested packages and will restart eric.
12 """ 12 """
13 13
14 import contextlib 14 import contextlib
15 import subprocess 15 import subprocess # secok
16 import sys 16 import sys
17 import time 17 import time
18 18
19 19
20 _pyqtPackages = [ 20 _pyqtPackages = [
54 54
55 @param args list containing the start arguments 55 @param args list containing the start arguments
56 @type list of str 56 @type list of str
57 """ 57 """
58 args = [sys.executable] + args 58 args = [sys.executable] + args
59 subprocess.Popen(args) 59 subprocess.Popen(args) # secok
60 60
61 61
62 def main(): 62 def main():
63 """ 63 """
64 Main entry point into the upgrader. 64 Main entry point into the upgrader.

eric ide

mercurial