How do I run another script in Python without waiting for it to finish? [duplicate]
p = subprocess.Popen([sys.executable, ‘/path/to/script.py’], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) That will start the subprocess in background. Your script will keep running normally. Read the documentation here.