python - Can subprocess.call be invoked without waiting for process to finish? -
i'm using subprocess.call() invoke program, blocks executing thread until program finishes. there way launch program without waiting return?
use subprocess.popen
instead of subprocess.call
:
process = subprocess.popen(['foo', '-b', 'bar'])
Comments
Post a Comment