in reply to Re: the sub-process wont exit until the parent does
in thread the sub-process wont exit until the parent does

Thanks all your info. I think all 3 ways will fix this issue. And so far, I tried the " $SIG{'CHLD'}", and it works.

I will go through the material as suggested

  • Comment on Re^2: the sub-process wont exit until the parent does