in reply to Re: Stopping subprocesses
in thread Stopping subprocesses

I tried (kill -INT PID_OF_B). It didn't work.