For a second time now, I've found myself needing to kill processes in my automated build scripts, so that was enough for me to automate it and wrap it up in a custom NAnt task. The first time I needed it, I just embedded the C# code inside a NAnt script block , but using it as "real" NAnt...