code: def exec_background(controller, cmd, *args):
      
      controller.logger.info("Executing in the background: {0} {1}",
                             cmd, " ".join(args))
  
      try:
          subprocess.Popen([cmd] + list(args),
                           stdout=open(os.devnull, "wb"),
                           stderr=open(os.devnull, "wb"))
      except OSError as err:
          controller.logger.error("Failed to execute process: {0}", err)
docs: Executes a subprocess in the background.