Python subprocess in parallel,p.wait()