301 |
299 |
302 @param applName name of the eric application script (string) |
300 @param applName name of the eric application script (string) |
303 @param *applArgs variable list of application arguments |
301 @param *applArgs variable list of application arguments |
304 """ |
302 """ |
305 proc = QProcess() |
303 proc = QProcess() |
306 applPath = os.path.join(getConfig("ericDir"), applName) |
304 applPath = os.path.join(os.path.dirname(__file__), "..", applName) |
307 |
305 |
308 args = [] |
306 args = [] |
309 args.append(applPath) |
307 args.append(applPath) |
310 args.append("--config={0}".format(Utilities.getConfigDir())) |
308 args.append("--config={0}".format(Utilities.getConfigDir())) |
311 if self.settingsDir: |
309 if self.settingsDir: |
334 |
332 |
335 def __startEric(self): |
333 def __startEric(self): |
336 """ |
334 """ |
337 Private slot to start the eric IDE. |
335 Private slot to start the eric IDE. |
338 """ |
336 """ |
339 self.__startProc("eric7.py") |
337 self.__startProc("eric7_ide.py") |
340 |
338 |
341 def __startPreferences(self): |
339 def __startPreferences(self): |
342 """ |
340 """ |
343 Private slot to start the eric configuration dialog. |
341 Private slot to start the eric configuration dialog. |
344 """ |
342 """ |
528 |
526 |
529 @param act reference to the action that triggered (QAction) |
527 @param act reference to the action that triggered (QAction) |
530 """ |
528 """ |
531 filename = act.data() |
529 filename = act.data() |
532 if filename: |
530 if filename: |
533 self.__startProc("eric7.py", filename) |
531 self.__startProc("eric7_ide.py", filename) |
534 |
532 |
535 def __showPreferences(self): |
533 def __showPreferences(self): |
536 """ |
534 """ |
537 Private slot to set the preferences. |
535 Private slot to set the preferences. |
538 """ |
536 """ |