tools/python/google/httpd_utils.py
def StopServer(self, force=False):
    """If we started an httpd.exe process, or if force is True, call
    self._stop_command (passed in on init so it can be platform-dependent).
    This will presumably kill it, and may also kill any other httpd.exe
    processes that are running.
    """
    if force or self._http_server_proc:
      logging.info('Stopping http server')
      kill_proc = subprocess.Popen(self._stop_command,
                                   stdout=subprocess.PIPE,
                                   stderr=subprocess.PIPE)
      logging.info('%s\n%s' % (kill_proc.stdout.read(),
                               kill_proc.stderr.read()))
      self._http_server_proc = None
      if self._cygserver_path:
        subprocess.Popen(["taskkill.exe", "/f", "/im", "cygserver.exe"],
                         stdout=subprocess.PIPE,
                         stderr=subprocess.PIPE)
If we started an httpd.exe process, or if force is True, call
    self._stop_command (passed in on init so it can be platform-dependent).
    This will presumably kill it, and may also kill any other httpd.exe
    processes that are running.
    
If we started an httpd.exe process, or if force is True, call
self._stop_command (passed in on init so it can be platform-dependent).
This will presumably kill it, and may also kill any other httpd.exe
processes that are running.
If we started an httpd . exe process or if force is True call self . _stop_command ( passed in on init so it can be platform - dependent ) . This will presumably kill it and may also kill any other httpd . exe processes that are running .
def StopServer(self, force=False):
    if force or self._http_server_proc:
      logging.info('Stopping http server')
      kill_proc = subprocess.Popen(self._stop_command,
                                   stdout=subprocess.PIPE,
                                   stderr=subprocess.PIPE)
      logging.info('%s\n%s' % (kill_proc.stdout.read(),
                               kill_proc.stderr.read()))
      self._http_server_proc = None
      if self._cygserver_path:
        subprocess.Popen(["taskkill.exe", "/f", "/im", "cygserver.exe"],
                         stdout=subprocess.PIPE,
                         stderr=subprocess.PIPE)
def StopServer ( self , force = False ) : if force or self . _http_server_proc : logging . info ( 'Stopping http server' ) kill_proc = subprocess . Popen ( self . _stop_command , stdout = subprocess . PIPE , stderr = subprocess . PIPE ) logging . info ( '%s\n%s' % ( kill_proc . stdout . read ( ) , kill_proc . stderr . read ( ) ) ) self . _http_server_proc = None if self . _cygserver_path : subprocess . Popen ( [ "taskkill.exe" , "/f" , "/im" , "cygserver.exe" ] , stdout = subprocess . PIPE , stderr = subprocess . PIPE )
If we started an httpd.exe process, or if force is True, call
self._stop_command (passed in on init so it can be platform-dependent).
If we started an httpd . exe process or if force is True call self . _stop_command ( passed in on init so it can be platform - dependent ) .
"""If we started an httpd.exe process, or if force is True, call
    self._stop_command (passed in on init so it can be platform-dependent).
    This will presumably kill it, and may also kill any other httpd.exe
    processes that are running.
    """
self
force