o
    ¯bg  ã                   @   sb   d Z ddlmZ ddlmZ edkrddlmZmZ nddl	mZm
Z dd„ Zd	d
„ Zd
dgZdS )zU
The Twisted Daemon: platform-independent interface.

@author: Christopher Armstrong
é    )Úapp)ÚplatformTypeÚwin32)ÚServerOptionsÚWindowsApplicationRunner)r   ÚUnixApplicationRunnerc                 C   s.   t | ƒ}| ¡  |jd urt |j¡ d S d S ©N)Ú_SomeApplicationRunnerÚrunÚ_exitSignalr   Ú_exitWithSignal)ÚconfigÚrunner© r   ú8/usr/lib/python3/dist-packages/twisted/scripts/twistd.pyÚrunApp   s
   
ÿr   c                   C   s   t  tt¡ d S r   )r   r
   r   r   r   r   r   r   r
   "   s   r
   N)Ú__doc__Útwisted.applicationr   Útwisted.python.runtimer   Útwisted.scripts._twistwr   r   r	   Útwisted.scripts._twistd_unixr   r   r
   Ú__all__r   r   r   r   Ú<module>   s   