134
def launch_application(self, desktop_file, files=[], wait=True):
135
135
"""Launch an application by specifying a desktop file.
137
141
Returns the Gobject process object. if wait is True (the default),
138
142
this method will not return until an instance of this application
139
143
appears in the BAMF application list.
141
147
proc = gio.unix.DesktopAppInfo(desktop_file)
144
150
self.wait_until_application_is_running(desktop_file, -1)