Monkey-patch the multiprocessing.Process class with our own CrashReportingProcess.
    Any subsequent imports of multiprocessing.Process will reference CrashReportingProcess instead.

    This function must be called before any imports to mulitprocessing in order for the monkey-patching to work.

def enable_mp_crash_reporting():
    """
    Monkey-patch the multiprocessing.Process class with our own CrashReportingProcess.
    Any subsequent imports of multiprocessing.Process will reference CrashReportingProcess instead.

    This function must be called before any imports to mulitprocessing in order for the monkey-patching to work.
    """
    global mp_crash_reporting_enabled
    multiprocessing.Process = multiprocessing.process.Process = CrashReportingProcess
    mp_crash_reporting_enabled = True