https://pantsbuild.org/ logo
#development
Title
# development
h

hundreds-breakfast-49010

04/10/2020, 8:01 PM
but the way this function is written, it looks like it's looking at every process currently running on a system with
psutil
, and seeing if the string "pantsd" appears anywhere in the command line of any process
a

aloof-angle-91616

04/11/2020, 6:14 AM
so we control the process title of the pantsd process, so at least we know there won't be false negatives, but there could definitely be false positives, and it doesn't feel clean at all to scan process titles like this
so i totally agree that this is weird, thanks for pointing this out