//process 2
if($MORE_MSG_TO_COME) //not sure how to check it
{
//do something
}
Following are the questions.
1. Is it correct method to set env variable inside system call?
2. Is the scope visible to both the process? If not, then how do I do it?
Any help will be greatly appreciated. :) I am pretty new to this so haven't tried it before.