Your multiprocessing Loop Won't Stop the App It Launched: Fixing Process(target=f(x)) and os.system
The problem A learner in an online forum wanted a script that keeps opening an external program (Notepad, in their case) in a loop. They wanted the loop to stop when a key is pressed. They used multiprocessing and os.system , and it did not behave.