code: def create_CreateProcess(original_name):
      
  
      def new_CreateProcess(app_name, cmd_line, *args):
          try:
              import _subprocess
          except ImportError:
              import _winapi as _subprocess
          send_process_created_message()
          return getattr(_subprocess, original_name)(app_name, patch_arg_str_win(cmd_line), *args)
  
      return new_CreateProcess
docs: CreateProcess(*args, **kwargs)