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

Try calling setpgrp in the child process just after forking it.