I am trying to run two subprocesses simultaneously. My current program looks like if one of subprocess has error and terminated, it cannot relaunch again after 1 min. It needs to wait another subprocess failed also and both of them start together. I found some posts about how to kill specific subprogress, but how can I (1) if one subprocess has error, all subprocesses will be terminated and relaunch again after 1 min? Or (2) the subprocess with error can relaunch again after 1 min without waiting another running subprocess? Will it work if I change I am trying to run two subprocesses simultaneou