Shell scripts - getting parent status in read

T. William Wells bill at twwells.uucp
Sun Apr 23 19:17:19 AEST 1989


Try enabling SIGPIPE in your parent before calling the shell script.
When the parent dies, the children trying to read from pipes set up
by the parent should then get a signal. You might have to use a trap
command in the shells, though.

---
Bill                            { uunet | novavax } !twwells!bill



More information about the Comp.unix.wizards mailing list