code: def create_CreateProcessWarnMultiproc(original_name):
      
  
      def new_CreateProcess(*args):
          try:
              import _subprocess
          except ImportError:
              import _winapi as _subprocess
          warn_multiproc()
          return getattr(_subprocess, original_name)(*args)
  
      return new_CreateProcess
docs: CreateProcess(*args, **kwargs)