阅读背景:

如果任何一个子进程出错,则终止所有子进程

来源:互联网 

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




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: