cann't close osc server/py script
high-solutions opened this issue · 0 comments
high-solutions commented
i can't seem to stop the threading server from within python.
I would like to make a osc command to stop the python script/receveing threading server but the server keeps running and responding
tried:
exit()
sys.exit()
subprocess.run(pkill "the python script")
only ctrl+c works if the script runs in the foreground, but i want to stop it with osc from wherever, also if it runs on the background