class_docstr: A wrapper for multiprocessing.Process that supports exception handling and return objects.
code: def __init__(self, target, args=(), kwargs=None):
      super().__init__(target=target, args=args, kwargs=kwargs or {})
      if kwargs is None:
          kwargs = dict()
      if kwargs is None:
          kwargs = {}
      self._target = target
      self._args = args
      self._kwargs = kwargs
  
      self._pconn, self._cconn = mp.Pipe()
      self._exception = None
      self._result = None
  
file_path: maze/maze/utils/process.py
imports: import multiprocessing
  from typing import Optional, Any
  from maze.utils.log_stats_utils import clear_global_state
  import os
  import re
  import subprocess
label_desc: Use image node_id 1 to create a new Process object from inherited base classes: mp with example: obj = Process(target, args, kwargs)