__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# -*- test-case-name: twisted.test.test_twistd -*-
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
"""
The Twisted Daemon: platform-independent interface.
@author: Christopher Armstrong
"""
from twisted.application import app
from twisted.python.runtime import platformType
if platformType == "win32":
from twisted.scripts._twistw import (
ServerOptions,
WindowsApplicationRunner as _SomeApplicationRunner,
)
else:
from twisted.scripts._twistd_unix import ( # type: ignore[assignment]
ServerOptions,
UnixApplicationRunner as _SomeApplicationRunner,
)
def runApp(config):
runner = _SomeApplicationRunner(config)
runner.run()
if runner._exitSignal is not None:
app._exitWithSignal(runner._exitSignal)
def run():
app.run(runApp, ServerOptions)
__all__ = ["run", "runApp"]
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| newsfragments | Folder | 0755 |
|
|
| test | Folder | 0755 |
|
|
| __init__.py | File | 261 B | 0644 |
|
| _twistd_unix.py | File | 15.65 KB | 0644 |
|
| _twistw.py | File | 1.5 KB | 0644 |
|
| htmlizer.py | File | 1.78 KB | 0644 |
|
| trial.py | File | 20.63 KB | 0644 |
|
| twistd.py | File | 877 B | 0644 |
|