Your IP : 172.28.240.42


Current Path : /usr/lib/python2.7/dist-packages/twisted/scripts/
Upload File :
Current File : //usr/lib/python2.7/dist-packages/twisted/scripts/_twistw.pyc

ó
[³XMc@sŠddlmZddlmZmZmZddlmZddlZddl	Z	dej
fd„ƒYZ
dejfd„ƒYZdS(	iÿÿÿÿ(tlog(tapptservicetinternet(t	copyrightNt
ServerOptionscBs)eZdZdddggZd„ZRS(sUsage: twistd [options]tnodaemontns(for backwards compatability).cCs"dtjGHtjGHtjƒdS(s,Print version information and exit.
        s&twistd (the Twisted Windows runner) %sN(Rtversiontsystexit(tself((s;/usr/lib/python2.7/dist-packages/twisted/scripts/_twistw.pytopt_versions(t__name__t
__module__tsynopsistoptFlagsR(((s;/usr/lib/python2.7/dist-packages/twisted/scripts/_twistw.pyRstWindowsApplicationRunnercBs eZdZd„Zd„ZRS(sn
    An ApplicationRunner which avoids unix-specific things. No
    forking, no PID files, no privileges.
    cCs0tj|_tj|_tj|jdƒdS(s4
        Do pre-application-creation setup.
        trundirN(R	tstdoutt	oldstdouttstderrt	oldstderrtostchdirtconfig(R((s;/usr/lib/python2.7/dist-packages/twisted/scripts/_twistw.pytpreApplication!scCsztj|jƒjƒtj|j|jdƒtjtjdd„ƒdƒ|j	d|j|jƒt
jdƒdS(s<
        Start the application and run the reactor.
        tno_savegš™™™™™¹?cSsdS(N(tNone(((s;/usr/lib/python2.7/dist-packages/twisted/scripts/_twistw.pyt<lambda>0sisServer Shut Down.N(RtIServicetapplicationtprivilegedStartServiceRtstartApplicationRRtTimerServicetstartReactorRRRRtmsg(R((s;/usr/lib/python2.7/dist-packages/twisted/scripts/_twistw.pytpostApplication*s
(R
Rt__doc__RR%(((s;/usr/lib/python2.7/dist-packages/twisted/scripts/_twistw.pyRs		(
ttwisted.pythonRttwisted.applicationRRRttwistedRR	RRtApplicationRunnerR(((s;/usr/lib/python2.7/dist-packages/twisted/scripts/_twistw.pyt<module>s