401 dlg = EricProcessDialog( |
402 dlg = EricProcessDialog( |
402 self.tr("'st-info' Output"), |
403 self.tr("'st-info' Output"), |
403 self.tr("STLink Device Information"), |
404 self.tr("STLink Device Information"), |
404 monospacedFont=Preferences.getEditorOtherFonts("MonospacedFont"), |
405 monospacedFont=Preferences.getEditorOtherFonts("MonospacedFont"), |
405 encoding=Preferences.getSystem("IOEncoding"), |
406 encoding=Preferences.getSystem("IOEncoding"), |
|
407 parent=self.microPython, |
406 ) |
408 ) |
407 res = dlg.startProcess(program, ["--probe"]) |
409 res = dlg.startProcess(program, ["--probe"]) |
408 if res: |
410 if res: |
409 dlg.exec() |
411 dlg.exec() |
410 |
412 |