|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Ensuring signal receipt under Linuxby chrism01 (Friar) |
| on Jan 24, 2006 at 18:09 UTC ( [id://525345]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
You could use your sigtrap fn to record the fact (in a global/pkg var) that the sig was received, then when convenient, use the perl built in 'kill' to send/fwd the prev received sig to whichever process. It's not quite clear from your qn whether the child fork completes ever, or whether you mean when the shelled-out call completes... Remember to clear the pkg var when you do deliver the sig. Cheers Chris
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||