tyronewilson/protractor-rails — pull request #23 by fdibartolo (2014-12-31 21:59:53+00:00)
Title: exclude own grep command while looking for the pid to kill

This is a minor fix to have the killing rake tasks (kill_selenium_processes, kill_webdriver, kill_rails) to actually find the pid to kill. I have noticed that in some systems, `ps aux | grep ...` also lists the own process, which makes the `kill` command to be run against the wrong pid.
The fix is to exclude the given command from the list.