Change status.pid to use Python regular expressions instead of shelling out to grep
Merge pull request #18922 from rallytime/cp-18300

Backport #18300 to 2014.1