kill a process in javascript code example Example: js kill process process.kill(process.pid, 'SIGINT');