Changeset 4091


Ignore:
Timestamp:
Aug 12, 2019 2:33:33 PM (4 years ago)
Author:
toby
Message:

delay close process until after update on Linux & Mac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIpath.py

    r4085 r4091  
    491491        version = str(version)
    492492    # start the upgrade in a separate interpreter (avoids loading .pyd files)
    493     subprocess.Popen([sys.executable,__file__,projectfile,version])
     493    proc = subprocess.Popen([sys.executable,__file__,projectfile,version])
     494    if sys.platform != "win32":
     495        proc.wait()
    494496    sys.exit()
    495497
Note: See TracChangeset for help on using the changeset viewer.