eric7/Utilities/__init__.py

branch
eric7
changeset 8975
ae4c3da05550
parent 8966
c6f67dbc6ee7
child 9016
6f079c524e99
equal deleted inserted replaced
8974:92c7bffbcf1e 8975:ae4c3da05550
1987 """ 1987 """
1988 import json 1988 import json
1989 1989
1990 sysPath = [] 1990 sysPath = []
1991 1991
1992 getSysPath = os.path.join( 1992 getSysPathSkript = os.path.join(
1993 getConfig('ericDir'), "Utilities", "GetSysPath.py") 1993 os.path.dirname(__file__), "GetSysPath.py")
1994 args = [getSysPath] 1994 args = [getSysPathSkript]
1995 proc = QProcess() 1995 proc = QProcess()
1996 proc.setProcessChannelMode(QProcess.ProcessChannelMode.MergedChannels) 1996 proc.setProcessChannelMode(QProcess.ProcessChannelMode.MergedChannels)
1997 proc.start(interpreter, args) 1997 proc.start(interpreter, args)
1998 finished = proc.waitForFinished(30000) 1998 finished = proc.waitForFinished(30000)
1999 if finished and proc.exitCode() == 0: 1999 if finished and proc.exitCode() == 0:

eric ide

mercurial