in reply to how to determine pipe process terminated or alive

Sometimes

sleep $interval while kill 0, $pid;
is handy. It works for any process you have rights to signal, not just kids or parent.

After Compline,
Zaxo