expect eq kill errnomessage  kill but i think we d generally prefer to get rid of this  and line altogether and let the child process die naturally when it recognizes that the parent no longer cares about it see below  