in multiprocessing pool map how to stop one process from executing ahead

Subramanian P V subramanianaug at gmail.com
Tue Mar 20 15:49:07 EDT 2018


I am excecting custom commands like shell  on multiple linux hosts.  and if in one host one of the commands fail. I want that process not to proceed. If the remote command throws an error i am logging it .. but the process goes to next command . but if i terminate the command, the process will terminate all other processes on other linux machines as well.



More information about the Python-list mailing list