Source code for nqontrol.gui.gunirun

import os
import subprocess


[docs]def main(): script_path = os.path.dirname(os.path.realpath(__file__)) os.chdir(script_path) subprocess.run(["gunicorn", "-c", "guniconfig.py", "run:server"], check=True)
if __name__ == "__main__": main()