I'm currently using subprocess.call() to invoke another program, but it blocks the executing thread until that program finishes. Is there a way to simply launch that program without waiting for return?
Use subprocess.Popen instead of subprocess.call:
subprocess.Popen
subprocess.call
process = subprocess.Popen(['foo', '-b', 'bar'])
1.4m articles
1.4m replys
5 comments
57.0k users