A CTRL+C is equivalent to sending a SIGINT
on Windows. Rather than trying to send a keystroke to the process, you can send a signal instead. This can either be done with a child process method or from other processes, provided that you have the process ID of the child:
hmc.kill('SIGINT');
// or from another process
process.kill(hmc.pid, 'SIGINT');