Hi,
Let's admit I have 3 process. Process A calls a sup-process B wich calls it self another process C.
If a fonctionnal error is raised from C, is there any way to stop definitively B and A (from C) ?
Or I have to deal with an error code below to push up the information to the parent process of each process ?
Process C met an error, we set pv!error=true and terminate the process
In Process B we test the return value from C, if true, we set pv!error=true and terminate the process
In Process A we test the return value from B, if true, we terminate process
Discussion posts and replies are publicly visible
They way you explained, is the way I would go as well. If a process is interested in the result of a subprocess it called, it needs to implement some logic to check for it and act accordingly.
Thank you Stephan.I just wanted to be sure...