code: def child_task(self):
          '''child process - this holds all the GUI elements'''
          mp_util.child_close_fds()
  
          from MAVProxy.modules.lib import wx_processguard
          from MAVProxy.modules.lib.wx_loader import wx
          from MAVProxy.modules.mavproxy_map.mp_slipmap_ui import MPSlipMapFrame
  
          state = self
  
          self.mt = mp_tile.MPTile(download=self.download,
                                   service=self.service,
                                   tile_delay=self.tile_delay,
                                   debug=self.debug,
                                   max_zoom=self.max_zoom)
          state.layers = {}
          state.info = {}
          state.need_redraw = True
  
          self.app = wx.App(False)
          self.app.SetExitOnFrameDelete(True)
          self.app.frame = MPSlipMapFrame(state=self)
          self.app.frame.Show()
          self.app.MainLoop(f child_task(self):
          '''child process - this holds all the GUI elements'''
          mp_util.child_close_fds()
  
          from MAVProxy.modules.lib import wx_processguard
          from MAVProxy.modules.lib.wx_loader import wx
          from MAVProxy.modules.mavproxy_map.mp_slipmap_ui import MPSlipMapFrame
  
          state = self
  
          self.mt = mp_tile.MPTile(download=self.download,
                                   service=self.service,
                                   tile_delay=self.tile_delay,
                                   debug=self.debug,
                                   max_zoom=self.max_zoom)
          state.layers = {}
          state.info = {}
          state.need_redraw = True
  
          self.app = wx.App(False)
          self.app.SetExitOnFrameDelete(True)
          self.app.frame = MPSlipMapFrame(state=self)
          self.app.frame.Show()
          self.app.MainLoop()
docs: child process - this holds all the GUI elements