Multiple subprocesses take a lot of time to complete
问题 I have a single process that is run using subprocess module's Popen : result = subprocess.Popen(['tesseract','mypic.png','myop']) st = time() while result.poll() is None: sleep(0.001) en = time() print('Took :'+str(en-st)) Which results in: Took :0.44703030586242676 Here, a tesseract call is made to process an image mypic.png (attached) and output the OCR's result to myop.txt . Now I want this to happen on multiple processes on behalf of this comment (or see this directly), so the code is