
    %
i                         d dl Z d dlZd dlZd dlZd dlmZ  G d de          Zd Zedk    r:	  e             dS # e	e
f$ r    ed           d dlZ ej                     Y dS xY wdS )    N)TestPipeServicec                   ~    e Zd ZdZdZdZej        Zde	j
                            ej        d                   z   dz   ZdS )NativeTestPipeServicePyNativePipeTestServicezPython Native Pipe Test Servicez Tests Python.exe hosted services"r   N)__name__
__module____qualname__
_svc_name__svc_display_name__svc_description_sys
executable
_exe_name_ospathabspathargv
_exe_args_     C:\Users\Dell Inspiron 16\Desktop\tws\AgrotaPowerBi\back-agrota-powerbi\mcp-client-agrota\venv\Lib\site-packages\win32/Demos/service/nativePipeTestService.pyr   r      sK        *J:: Jrwsx{333c9JJJr   r   c                  t   t          t          j                  dk    rt          d           t          d           dd l} t          d           t          j                     t          j        t                     t          j	                     t          d           d S t          j        t                     d S )N   zservice is starting...z?(execute this script with '--help' if that isn't what you want)r   zservice is still starting...zservice done!)lenr   r   printwin32traceutilservicemanager
InitializePrepareToHostSingler   StartServiceCtrlDispatcherwin32serviceutilHandleCommandLine)r   s    r   mainr$   !   s    
38}}&'''OPPP 	,---!###*+@AAA1333o*+@AAAAAr   __main__zSomething went bad!)r   r   r   r"   pipeTestServicer   r   r$   r   
SystemExitKeyboardInterruptr   	traceback	print_excr   r   r   <module>r+      s   
			 



         + + + + + +: : : : :O : : :B B B* z)*   #$$$	 s	   
; 'A%