but the way this function is written, it looks lik...
# development
h
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
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