Why writing CTRL+C to child process stdin does not terminate process in Node.js while piping it does?
I have a function that I use for testing a command line application. It uses Node.js child_process.exec to run shell commands, like this:
I have a function that I use for testing a command line application. It uses Node.js child_process.exec to run shell commands, like this: