%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/twisted/scripts/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/twisted/scripts/__pycache__/_twistw.cpython-312.pyc

�

Ϫ�f���ddlZddlZddlmZddlmZmZmZddlm	Z	Gd�dej�Z
Gd�dej�Zy)	�N)�	copyright)�app�internet�service)�logc� �eZdZdZgd�gZd�Zy)�
ServerOptionszUsage: twistd [options])�nodaemon�nz(for backwards compatibility).c���tdtj��|j��ttj|j��t	j
�y)z5
        Print version information and exit.
        z$twistd (the Twisted Windows runner) )�fileN)�printr�version�stdout�sys�exit��selfs �9/usr/lib/python3/dist-packages/twisted/scripts/_twistw.py�opt_versionzServerOptions.opt_versionsC��	�2�9�3D�3D�2E�F����	
�	�i�!�!����4����
�N)�__name__�
__module__�__qualname__�synopsis�optFlagsr�rrr	r	s��(�H�	<��H�	rr	c��eZdZdZd�Zd�Zy)�WindowsApplicationRunnerzn
    An ApplicationRunner which avoids unix-specific things. No
    forking, no PID files, no privileges.
    c��tj|_tj|_tj|jd�y)z4
        Do pre-application-creation setup.
        �rundirN)rr�	oldstdout�stderr�	oldstderr�os�chdir�configrs r�preApplicationz'WindowsApplicationRunner.preApplication's/������������
������X�&�'rc��tj|j�j�t	j
|j|jd�t	j
tjdd��d�|jd|j|j�tjd�y)z<
        Start the application and run the reactor.
        �no_saveg�������?c��y)Nrrrr�<lambda>z:WindowsApplicationRunner.postApplication.<locals>.<lambda>5s�rrNzServer Shut Down.)r�IService�application�privilegedStartServicer�startApplicationr'r�TimerService�startReactorr"r$r�msgrs r�postApplicationz(WindowsApplicationRunner.postApplication/s���	����)�)�*�A�A�C����T�-�-�4�;�;�y�3I�/I�J����X�2�2�3��E�q�I����$�������?����#�$rN)rrr�__doc__r(r4rrrrr!s���
(�%rr)
r%r�twistedr�twisted.applicationrrr�twisted.pythonrr	�ApplicationRunnerrrrr�<module>r:s=��
�
��6�6���C�%�%��&%�s�4�4�%r

Zerion Mini Shell 1.0