BAPSicle/launch_standalone.py

14 lines
355 B
Python
Raw Normal View History

2020-10-25 01:23:24 +00:00
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