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

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -