BAPSicle/launch_standalone.py
2020-10-25 01:23:24 +00:00

13 lines
355 B
Python

import multiprocessing
import time
from server import BAPSicleServer
if __name__ == '__main__':
# On Windows calling this function is necessary.
# Causes all kinds of loops if not present.
multiprocessing.freeze_support()
server = multiprocessing.Process(target=BAPSicleServer).start()
while True:
time.sleep(1)
pass