code: def get_exit_time(self):
          
          if self.is_alive():
              ExitTime = win32.GetSystemTimeAsFileTime()
          else:
              if win32.PROCESS_ALL_ACCESS == win32.PROCESS_ALL_ACCESS_VISTA:
                  dwAccess = win32.PROCESS_QUERY_LIMITED_INFORMATION
              else:
                  dwAccess = win32.PROCESS_QUERY_INFORMATION
              hProcess = self.get_handle(dwAccess)
              ExitTime = win32.GetProcessTimes(hProcess)[1]
          return win32.FileTimeToSystemTime(ExitTime)
docs: Determines when has this process finished running.
          If the process is still alive, the current time is returned instead.
  
          @rtype:  win32.SYSTEMTIME
          @return: Process exit time.