I don't know if this works, but have you tried sending a SIGINT signal (which is what Ctrl+C does) to process B with kill, instead of the standard signal that kill sends?
In reply to Re: Stopping subprocesses
by muba
in thread Stopping subprocesses
by James Board
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |