mirror of
https://github.com/DanielPollithy/bluetooth_drone.git
synced 2025-10-16 11:45:38 +00:00
19 lines
284 B
Python
19 lines
284 B
Python
from multiprocessing import Process
|
|
import client
|
|
import drone_poller
|
|
|
|
|
|
def run():
|
|
p = Process(target=drone_poller.run)
|
|
p.start()
|
|
client.run()
|
|
p.join()
|
|
|
|
|
|
if __name__ == '__main__':
|
|
try:
|
|
run()
|
|
except KeyboardInterrupt:
|
|
print('[x] quitting...')
|
|
|