
    hm                     b    S r SSKJr  SSKJr  \S:X  a	  SSKJrJr  OSSK	JrJ
r  S rS rS	S
/rg)zU
The Twisted Daemon: platform-independent interface.

@author: Christopher Armstrong
    )app)platformTypewin32)ServerOptionsWindowsApplicationRunner)r   UnixApplicationRunnerc                     [        U 5      nUR                  5         UR                  b!  [        R                  " UR                  5        g g N)_SomeApplicationRunnerrun_exitSignalr   _exitWithSignal)configrunners     ]/root/1688_scrapy/alibaba-scraper/venv/lib/python3.13/site-packages/twisted/scripts/twistd.pyrunAppr      s:    #F+F
JJL%F../ &    c                  B    [         R                  " [        [        5        g r
   )r   r   r   r    r   r   r   r   "   s    GGFM"r   r   r   N)__doc__twisted.applicationr   twisted.python.runtimer   twisted.scripts._twistwr   r   r   twisted.scripts._twistd_unixr   r   r   __all__r   r   r   <module>r      s?   
 $ /7 
0# (
r   