Pull continual output from executed program

With the zotero api, when executing an external program with exec or subprocess there is no capability to yield or incrementally pull output from the executed process. It would be fantastic to be able to have an iterator passed from the subprocess allowing for reading each line from it. This would be extremely useful in zotero-ocr for getting the progress of the process of ocring files and giving parsed output to the user. I'm sure there are other addons that would benefit from the ability to incrementally read output
Sign In or Register to comment.