def _gui(app_file, paths, settings): reexec_with_pythonw(app_file) # ensure pythonw for mac gui = import_pyWx() if paths: actionlist = paths[0] else: actionlist = '' gui.main(settings, actionlist)
def launch_gui(options): from core.tools import reexec_with_pythonw reexec_with_pythonw() from pyWx import gui gui.main(options, log=logging.getLogger('gui'))