A little broader context: This script dispatches jobs into a grid platform. It executes the stub binaries, which execute their grid equivalents and wait until they exit, then returning to my script (where I pick up return codes, parse and process schlock from stdout, etc.)
I actually tried $SIG{CHLD} = 'IGNORE'; first. The net result was that the stub binaries wouldn't submit the grid jobs. I threw up my hands at that. I just don't have grid-fu and the people who were supposed to had no idea why that would occur. (But it was exhaustively demonstrated.)
So I went back to trying to decide between double-fork and setting $SIG{CHLD} to a simple sub that just "wait"s.
(Yes, been back and forth through perlipc before posting here. ;) )
In reply to Re^2: double fork trick vs sig chld wait
by Voronich
in thread double fork trick vs sig chld wait
by Voronich
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |