From 3048ce89cfaf827a3dfbd375be5ba8acc2160f24 Mon Sep 17 00:00:00 2001 From: Ariel Moshe Date: Tue, 16 Jan 2024 02:22:55 -0800 Subject: [PATCH] Update granulate_utils/linux/process.py Co-authored-by: Yonatan Goldschmidt --- granulate_utils/linux/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/granulate_utils/linux/process.py b/granulate_utils/linux/process.py index 31f0ab47..bbca7d47 100644 --- a/granulate_utils/linux/process.py +++ b/granulate_utils/linux/process.py @@ -29,7 +29,7 @@ def process_exe(process: psutil.Process) -> str: See https://github.com/giampaolo/psutil/pull/2062 """ - # Clear the "exe" cache on the process object. It can change after cache if it was cached during fork-exec. + # Clear the "exe" cache on the process object. It can change after being cached if the process execed. process._exe = None # type: ignore exe = process.exe() if exe == "":