How to kill a NodeJS child exec process?

I believe windows needs a force kill to terminate the process i.e. something like

exec('taskkill /F /T /PID ' + process__.pid);

// F - force terminate
// T - kill all sub-processes
// PID - Process Id that you're targetting

See documentation for taskkill and the flags