2
The Twisted Daemon: platform-independent interface.
4
Stability: Unstable. Please contact the maintainer if you need any
7
@author: U{Christopher Armstrong<mailto:radix@twistedmatrix.com>}
11
from twisted.application import app
13
from twisted.python.runtime import platformType
14
if platformType == "win32":
15
from twisted.scripts._twistw import ServerOptions, \
16
WindowsApplicationRunner as _SomeApplicationRunner
18
from twisted.scripts._twistd_unix import ServerOptions, \
19
UnixApplicationRunner as _SomeApplicationRunner
23
_SomeApplicationRunner(config).run()
27
app.run(runApp, ServerOptions)
30
__all__ = ['run', 'runApp']