tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: killing subshells in /bin/sh scripts



Mr. Elz:

Thank you for the cogent explanation of why the process IDs are what
they are.

I'm curious what is the best way for a script to kill off all of its
children and grandchildren (the process tree that was spawned by it)
in a portable manner.

Regards,
--
Johnny C. Lam
jlam%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index