is there a way to call an external program inside python and don't wait for its execution to finish?
I tried this, but no luck:
os.system("external_program &")
Normally, if I call external_program &
inside a bash shell it executes as a background process.
How can I do it inside python? For, my special case, creating another thread does not work. After main python scrip is done, the external program should continue its execution.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…