So, we have a parent process that has spawned a child process, which has in turn spawned a grandchild.
And the problem is that the grandparent doesn't even know the name of the grandchild. The child process doesn't call and it doesn't write. Nothing. (Is that not always the way ?)
Now, I'm not an expert on family counselling, but it seems to me that the problem here really is communication. I know that sounds like a cliche. But like many cliches, there's a kernel of truth hidden in it. See if you can somehow persuade the grandparent and child to talk to each other... then the joy of the grandchild can surely be shared.
I'm also not an expert on interprocess communication, so I'm guessing that my first thought -- email -- is probably too elaborate. Some form of pipe, perhaps ? perlipc
In reply to Re: Fork daemon from Perl script and save it's PID. How to do it right?
by gone2015
in thread Fork daemon from Perl script and save it's PID. How to do it right?
by accessdenied
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |