Hi,
I'm actually looking for some ideas regarding background process return code handling.
In KSH, I would like to be able to get return codes of a bunch of background processes launched by the parent.
Aim is to return success when all background process is success and a warning when at least one of the child has failed.
I'm looking for some suggestions...
Flow should be:
-Parent ksh is started.
-For each file in a list, run a background process
-Parent wait for completion
-After completion of all childs, check if none of them failed
-Log result
-End
Thanks for your help.
Philippe.
I'm actually looking for some ideas regarding background process return code handling.
In KSH, I would like to be able to get return codes of a bunch of background processes launched by the parent.
Aim is to return success when all background process is success and a warning when at least one of the child has failed.
I'm looking for some suggestions...
Flow should be:
-Parent ksh is started.
-For each file in a list, run a background process
-Parent wait for completion
-After completion of all childs, check if none of them failed
-Log result
-End
Thanks for your help.
Philippe.