code: def open_process(cls, cmd, **kwargs):
      
      assert len(cmd) > 0, 'cannot execute an empty command!'
  
      try:
        return subprocess.Popen(cmd, **kwargs)
      except (IOError, OSError) as e:
        if e.errno == errno.ENOENT:
          raise cls.ExecutableNotFound(cmd, e)
        else:
          raise cls.ExecutionError(repr(e), cmd, e)
docs: Opens a process object via subprocess.Popen().
  
      :param string|list cmd: A list or string representing the command to run.
      :param **kwargs: Additional kwargs to pass through to subprocess.Popen.
      :return: A `subprocess.Popen` object.
      :raises: `Executor.ExecutableNotFound` when the executable requested to run does not exist.