code: def create_warn_fork_exec(original_name):
      
  
      def new_warn_fork_exec(*args):
          try:
              import _posixsubprocess
              warn_multiproc()
              return getattr(_posixsubprocess, original_name)(*args)
          except:
              pass
  
      return new_warn_fork_exec
docs: _posixsubprocess.fork_exec(args, executable_list, close_fds, ... (13 more))