a „oeWã @s–ddlZddlZddlZddlZddlmZGdd„deƒZdd„Zedkr’z eƒWn:e e fyn‚Yn$e dƒddl Z e   ¡Yn0dS) éN)ÚTestPipeServicec@s8eZdZdZdZdZejZde j   ej d¡dZ dS)ÚNativeTestPipeServiceZPyNativePipeTestServicezPython Native Pipe Test Servicez Tests Python.exe hosted servicesú"rN)Ú__name__Ú __module__Ú __qualname__Z _svc_name_Z_svc_display_name_Z_svc_description_ÚsysÚ executableZ _exe_name_ÚosÚpathÚabspathÚargvZ _exe_args_©rrúJC:\Program Files\Certbot\pkgs\win32\Demos\service\nativePipeTestService.pyrs rcCs`ttjƒdkrRtdƒtdƒddl}tdƒt ¡t t¡t  ¡tdƒn t   t¡dS)Nézservice is starting...z?(execute this script with '--help' if that isn't what you want)rzservice is still starting...z service done!) Úlenrr ÚprintÚwin32traceutilÚservicemanagerZ InitializeZPrepareToHostSinglerZStartServiceCtrlDispatcherÚwin32serviceutilZHandleCommandLine)rrrrÚmain!s  rÚ__main__zSomething went bad!)r rrrZpipeTestServicerrrrÚ SystemExitÚKeyboardInterruptrÚ tracebackÚ print_excrrrrÚs