[gm.py] Fix goma process detection on MacOS
On MacOS, `ps -e | grep foo` always finds a match, because `ps` already sees the `grep` command, which matches the search string. Luckily, `pgrep` exists as an elegant alternative. No-Try: true Change-Id: Ieedfe62ab11a59fb9a29ae1ebd39b164eec5193c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3144917 Auto-Submit: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#76707}
Showing
Please
register
or
sign in
to comment