4/11/2021 0 Comments Print Server Net Tool Roland
I wish to run command-line tools in parallel since they are independent with each other.When one command-line tool is finished, I can collect its results from the output file.
So I also need some synchronization mechanism to notify my main Python program that one task is finished so that the result could be parsed into my main program. If you want to control your processes from python, you could start them asynchronously with Popen. It will return the exit status when it is done, so you can check if it is zero. He wants a way to notify my main Python program that one task is finished. I included them in the answer (as you can see, its a separate solution with separate issues). Provide details and share your research But avoid Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |