Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
laziness, impatience, and hubris
 
PerlMonks  

Re: Ensuring signal receipt under Linux

by 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.


in reply to Ensuring signal receipt under Linux

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
  • Comment on Re: Ensuring signal receipt under Linux

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://525345]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.