code: def configure_sigint_handler():
      # make the program just exit at ctrl+c without waiting for anything
  
      from modules import shared
  
      def sigint_handler(sig, frame):
          print(f"Interrupted with signal {sig} in {frame}")
  
          if shared.opts.dump_stacks_on_signal:
              dumpstacks()
  
          os._exit(0)
  
      if not os.environ.get("COVERAGE_RUN"):
          # Don't install the immediate-quit handler when running under coverage,
          # as then the coverage report won't be generated.
          signal.signal(signal.SIGINT, sigint_handler)
  
file_path: stable-diffusion-webui/modules/initialize_util.py
imports: import json
  import os
  import signal
  import sys
  import re
  from modules.timer import startup_timer
label_desc: Use image node_id 8 for calling a global function with example usage: configure_sigint_handler() without return types