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'])
2.1m questions
2.1m answers
60 comments
57.0k users