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: |