code: def get_exit_code(self):
          
          if win32.PROCESS_ALL_ACCESS == win32.PROCESS_ALL_ACCESS_VISTA:
              dwAccess = win32.PROCESS_QUERY_LIMITED_INFORMATION
          else:
              dwAccess = win32.PROCESS_QUERY_INFORMATION
          return win32.GetExitCodeProcess( self.get_handle(dwAccess) )
docs: @rtype:  int
          @return: Process exit code, or C{STILL_ACTIVE} if it's still alive.
  
          @warning: If a process returns C{STILL_ACTIVE} as it's exit code,
              you may not be able to determine if it's active or not with this
              method. Use L{is_alive} to check if the process is still active.
              Alternatively you can call L{get_handle} to get the handle object
              and then L{ProcessHandle.wait} on it to wait until the process
              finishes running.