17 lines
310 B
Python
17 lines
310 B
Python
from multiprocessing import Process
|
|
|
|
from aiohttp.web import run_app as run_web_app
|
|
|
|
from actioner.web import get_server
|
|
|
|
|
|
def main():
|
|
server = get_server()
|
|
web_process = Process(target=run_web_app, args=(server,))
|
|
web_process.start()
|
|
web_process.join()
|
|
|
|
|
|
if __name__ == '__main__':
|
|
main()
|