1
0
miroir de https://github.com/arsenetar/dupeguru.git synchronisé 2025-07-06 23:43:20 +00:00

Fixed qt run template so that the current environment is sent to the new python process.

Cette révision appartient à :
Virgil Dupras 2010-10-05 00:36:20 -07:00
Parent b217309618
révision 562123b219

Voir le fichier

@ -8,8 +8,8 @@ import subprocess
def main():
scriptpath = op.abspath(__file__)
scriptfolder = op.dirname(scriptpath)
newenv = {'PYTHONPATH': scriptfolder}
subprocess.Popen([sys.executable, '-m', 'qt.{{edition}}.start'], env=newenv)
os.environ['PYTHONPATH'] = scriptfolder
subprocess.Popen([sys.executable, '-m', 'qt.{{edition}}.start'], env=os.environ)
if __name__ == '__main__':
sys.exit(main())