I have written batch files to run Selenium Grid2 server and to register the nodes to it but how can I shutdown the server ?
I can't kill the batch processes because their ids are just "cmd.exe" and I don't want to kill all cmd.exe because there might something else running on cmd that I need.
Thanks