chrome/updater/test/service/win/updater_test_service_control.py
def _MainServiceScriptPath():
  """Returns the service main script path."""
  # Assumes updater_test_service.py file is in the same directory as this file.
  service_main = os.path.join(
      os.path.abspath(os.path.dirname(__file__)), 'updater_test_service.py')
  if not os.path.isfile(service_main):
    logging.error('Cannot find service main module: %s', service_main)
    return None
  return service_main
Returns the service main script path.
Returns the service main script path.
Returns the service main script path .
def _MainServiceScriptPath():
  service_main = os.path.join(
      os.path.abspath(os.path.dirname(__file__)), 'updater_test_service.py')
  if not os.path.isfile(service_main):
    logging.error('Cannot find service main module: %s', service_main)
    return None
  return service_main
def _MainServiceScriptPath ( ) : service_main = os . path . join ( os . path . abspath ( os . path . dirname ( __file__ ) ) , 'updater_test_service.py' ) if not os . path . isfile ( service_main ) : logging . error ( 'Cannot find service main module: %s' , service_main ) return None return service_main
Returns the service main script path.
Returns the service main script path .
"""Returns the service main script path.""" # Assumes updater_test_service.py file is in the same directory as this file.