I have a simple Node.js program which execute through a button click from winform, that works fine, But i need to terminate the Node.js program and close the command prompt on another button click.How can i achieve this?

Cheers
Jeev