I’m running Sublime Text 2 on Windows, and set up a build system to run a javascript file using Node - just “node $file”. This works great, and the console shows Node’s console messages.
My question is, how do I kill this process? Either a command or something I can run from within the build system would be fine. Ideally, I’d like the build system to find and kill the previous Node process if it exists, then launch my new one. I’d be happy just to be able to find/kill this process at all, though - and I’m completely new to Python.
Thanks!