in reply to How to pass CTRL-C to child script only

The control-C is a request for the shell to send SIGINT to the program it has running on the foreground. Which is script A. Probably the easiest is (either from another shell, or after you've put script A in the background) kill -2 PID where PID is the process ID of script B.
  • Comment on Re: How to pass CTRL-C to child script only