code: def show_batch_runner(self):
          
          from safe.gui.tools.batch.batch_dialog import BatchDialog
  
          dialog = BatchDialog(
              parent=self.iface.mainWindow(),
              iface=self.iface,
              dock=self.dock_widget)
          dialog.exec_()
docs: Show the batch runner dialog.