class_docstr: A wrapper for multiprocessing.Process that supports exception handling and return objects.
docstr: overwrite Process.run()
docstr_tok: ["overwrite","Process.run","(",")"]
code: def run(self) -> None:
      """overwrite Process.run()"""
      # clean any left-over state from the parent process
      clear_global_state()
  
      try:
          result = self._target(*self._args, **self._kwargs)
          self._cconn.send(result)
      except Exception as e:
          self._cconn.send(e)
          raise e
  
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 2 for calling the Process obj's underlying member method code with example usage: obj.run() without return types