Stopping ASP WebDev and Selenium servers from command line
I am introducing Selenium tests into my build for the first time. I figured that to do this in NAnt, I would have to start the WebDev server first: <exec program="path/to/WebDev.WebServer.exe" commandline="/port:51150 /path:path/to/website" failonerror="true" resultproperty="selenium.webdev.server.running" spawn="true"> </exec> Then start the Selenium server: <exec program="path/to/java.exe" commandline="-jar path/to/selenium-server.jar" failonerror="false" spawn="true"> </exec> Then run my tests. This works. What i can't figure out is how do I kill the WebDev and Selenium servers when my