From 1ba0168961812d9805435032bb65268328fcd1c5 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 30 2015 10:00:56 +0000 Subject: Add the run-mdapi utility script and application launcher --- diff --git a/run-mdapi b/run-mdapi new file mode 100755 index 0000000..cffc237 --- /dev/null +++ b/run-mdapi @@ -0,0 +1,14 @@ +#!/usr/bin/env python3 + +import asyncio +import mdapi + + +loop = asyncio.get_event_loop() +loop.run_until_complete(mdapi.init(loop)) + +try: + loop.run_forever() +except KeyboardInterrupt: + pass +