From a process XX, i launch 3 or 4 other processes which are the child of the XX process.
In each child process i does different things, and finally when each returns i have to find out which child returned by checking the Environment variable i manipulated in the child. That is i have a variable PROJECTNAME in all child process, and each ones value varies as PROJECT1, PROJECT2... Based up on that i do different task in the parent.
That is what i asked how to get the environment variable from the child process to the parent process. Hope it is clear.
Note: As many people felt the explanation given in my previous question is not clear, I am giving better explanation here of my
earlier question here.